Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve") translateModel(IBPSA.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008766/0.0008769, allocations: 174.3 kB / 16.08 MB, free: 5.73 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4517/0.4517, allocations: 89.07 MB / 105.9 MB, free: 12.45 MB / 90.72 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.291/1.291, allocations: 225.7 MB / 353.2 MB, free: 1.094 MB / 282.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007585/0.0007585, allocations: 90.41 kB / 425.4 MB, free: 6.633 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003351/0.0003354, allocations: 8 kB / 0.4955 GB, free: 4.52 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3156/0.316, allocations: 71.33 MB / 0.5652 GB, free: 42.34 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.CheckValve): time 0.01429/0.3303, allocations: 20.42 MB / 0.5851 GB, free: 21.57 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00567/0.336, allocations: 7.046 MB / 0.592 GB, free: 13.96 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008353/0.3369, allocations: 15.88 kB / 0.592 GB, free: 13.95 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008416/0.3378, allocations: 218.7 kB / 0.5922 GB, free: 13.73 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002077/0.3399, allocations: 0.7386 MB / 0.593 GB, free: 12.99 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001649/0.3415, allocations: 0.6471 MB / 0.5936 GB, free: 12.34 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001643/0.3432, allocations: 1.816 MB / 0.5954 GB, free: 10.51 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005778/0.3438, allocations: 372.1 kB / 0.5957 GB, free: 10.15 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009326/0.3447, allocations: 0.5328 MB / 0.5962 GB, free: 9.613 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006543/0.3454, allocations: 446.1 kB / 0.5967 GB, free: 9.176 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.756e-05/0.3455, allocations: 20 kB / 0.5967 GB, free: 9.156 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001035/0.3465, allocations: 0.573 MB / 0.5972 GB, free: 8.582 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001138/0.3467, allocations: 107.5 kB / 0.5973 GB, free: 8.477 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000227/0.3469, allocations: 292.2 kB / 0.5976 GB, free: 8.184 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007605/0.3477, allocations: 0.8119 MB / 0.5984 GB, free: 7.371 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3477, allocations: 0 / 0.5984 GB, free: 7.371 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3477, allocations: 0 / 0.5984 GB, free: 7.371 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.3477, allocations: 0 / 0.5984 GB, free: 7.371 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001163/0.3489, allocations: 0.841 MB / 0.5992 GB, free: 6.48 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.3489, allocations: 8.031 kB / 0.5992 GB, free: 6.473 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.374e-05/0.349, allocations: 64.19 kB / 0.5993 GB, free: 6.41 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000485/0.3495, allocations: 447.3 kB / 0.5997 GB, free: 5.934 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.3495, allocations: 28.66 kB / 0.5998 GB, free: 5.906 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.932e-05/0.3496, allocations: 36 kB / 0.5998 GB, free: 5.871 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005543/0.3502, allocations: 314 kB / 0.6001 GB, free: 5.559 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.3502, allocations: 0 / 0.6001 GB, free: 5.559 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.658e-05/0.3502, allocations: 8 kB / 0.6001 GB, free: 5.551 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.3502, allocations: 11.98 kB / 0.6001 GB, free: 5.539 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00052/0.3507, allocations: 286.4 kB / 0.6004 GB, free: 5.258 MB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0017/0.3525, allocations: 1.356 MB / 0.6017 GB, free: 3.781 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004207/0.3529, allocations: 258.5 kB / 0.602 GB, free: 3.52 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002449/0.3531, allocations: 144.8 kB / 0.6021 GB, free: 3.375 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002991/0.3534, allocations: 0.4989 MB / 0.6026 GB, free: 2.766 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.054e-05/0.3535, allocations: 38.5 kB / 0.6026 GB, free: 2.719 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 1.853e-06/0.3535, allocations: 4.031 kB / 0.6026 GB, free: 2.715 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.001433/0.3549, allocations: 0.5904 MB / 0.6032 GB, free: 2.098 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.335e-05/0.355, allocations: 59.41 kB / 0.6033 GB, free: 2.027 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003603/0.3553, allocations: 466 kB / 0.6037 GB, free: 1.562 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.557e-05/0.3554, allocations: 37.7 kB / 0.6037 GB, free: 1.52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/0.3555, allocations: 240.5 kB / 0.604 GB, free: 1.281 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.838e-05/0.3555, allocations: 86.75 kB / 0.6041 GB, free: 1.195 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.559e-05/0.3556, allocations: 4 kB / 0.6041 GB, free: 1.191 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.2e-05/0.3556, allocations: 358.8 kB / 0.6044 GB, free: 0.832 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002525/0.3559, allocations: 135.7 kB / 0.6045 GB, free: 0.6992 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002855/0.3562, allocations: 193 kB / 0.6047 GB, free: 0.4922 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004937/0.3567, allocations: 285.3 kB / 0.605 GB, free: 212 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3567, allocations: 0 / 0.605 GB, free: 212 kB / 410.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009171/0.3576, allocations: 443.4 kB / 0.6054 GB, free: 15.77 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.481e-05/0.3577, allocations: 110.7 kB / 0.6055 GB, free: 15.64 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.3577, allocations: 0 / 0.6055 GB, free: 15.64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003173/0.358, allocations: 52.81 kB / 0.6056 GB, free: 15.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003549/0.3584, allocations: 71.89 kB / 0.6056 GB, free: 15.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004208/0.3588, allocations: 0.5679 MB / 0.6062 GB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005055/0.3594, allocations: 71.72 kB / 0.6063 GB, free: 14.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.154e-05/0.3594, allocations: 12 kB / 0.6063 GB, free: 14.84 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.753e-06/0.3594, allocations: 4 kB / 0.6063 GB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006743/0.3601, allocations: 315.7 kB / 0.6066 GB, free: 14.53 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.154e-06/0.3601, allocations: 144 / 0.6066 GB, free: 14.53 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.747e-06/0.3601, allocations: 4 kB / 0.6066 GB, free: 14.53 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000373/0.3605, allocations: 87.86 kB / 0.6067 GB, free: 14.44 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.3605, allocations: 7.938 kB / 0.6067 GB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003798/0.3609, allocations: 67.58 kB / 0.6067 GB, free: 14.37 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.253e-05/0.361, allocations: 23.92 kB / 0.6068 GB, free: 14.34 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002293/0.3612, allocations: 245 kB / 0.607 GB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.456e-05/0.3613, allocations: 47.44 kB / 0.607 GB, free: 14.05 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008946/0.3622, allocations: 441.5 kB / 0.6075 GB, free: 13.6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-05/0.3622, allocations: 7.984 kB / 0.6075 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.3622, allocations: 0 / 0.6075 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.3622, allocations: 0 / 0.6075 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001473/0.3637, allocations: 0.961 MB / 0.6084 GB, free: 12.56 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.3637, allocations: 4.125 kB / 0.6084 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002218/0.3639, allocations: 55.89 kB / 0.6085 GB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001594/0.3641, allocations: 44.83 kB / 0.6085 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.37e-05/0.3641, allocations: 11.94 kB / 0.6085 GB, free: 12.44 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003491/0.3645, allocations: 0.564 MB / 0.6091 GB, free: 11.85 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.3645, allocations: 0 / 0.6091 GB, free: 11.85 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000806/0.3653, allocations: 0.5019 MB / 0.6096 GB, free: 11.32 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001871/0.3655, allocations: 156.3 kB / 0.6097 GB, free: 11.15 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.034e-05/0.3656, allocations: 15.98 kB / 0.6097 GB, free: 11.13 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003557/0.366, allocations: 43.81 kB / 0.6098 GB, free: 11.09 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.519e-05/0.3661, allocations: 23.97 kB / 0.6098 GB, free: 11.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.667e-05/0.3661, allocations: 15.98 kB / 0.6098 GB, free: 11.05 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003645/0.3665, allocations: 318.9 kB / 0.6101 GB, free: 10.74 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3665, allocations: 0 / 0.6101 GB, free: 10.74 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007371/0.3672, allocations: 243.6 kB / 0.6103 GB, free: 10.5 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005493/0.3678, allocations: 264.3 kB / 0.6106 GB, free: 10.25 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001123/0.3689, allocations: 492.3 kB / 0.6111 GB, free: 9.77 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.3689, allocations: 0 / 0.6111 GB, free: 9.77 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003894/0.3693, allocations: 180.1 kB / 0.6112 GB, free: 9.594 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001347/0.3707, allocations: 258.5 kB / 0.6115 GB, free: 9.344 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001588/0.3723, allocations: 1.02 MB / 0.6125 GB, free: 8.285 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004279/0.3727, allocations: 0.859 MB / 0.6133 GB, free: 7.395 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004771/0.3732, allocations: 128.1 kB / 0.6134 GB, free: 7.27 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.92e-05/0.3733, allocations: 39.44 kB / 0.6135 GB, free: 7.23 MB / 426.7 MB Notification: Performance of SimCode: time 2.61e-07/0.3733, allocations: 4 kB / 0.6135 GB, free: 7.227 MB / 426.7 MB Notification: Performance of Templates: time 0.01752/0.3908, allocations: 9.867 MB / 0.6231 GB, free: 13.5 MB / 442.7 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.makefile (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.sim & ./IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)