Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.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.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008902/0.0008902, 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.4509/0.4509, allocations: 89.06 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.284/1.284, allocations: 225.7 MB / 353.2 MB, free: 1.086 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.0007857/0.0007857, allocations: 98.64 kB / 425.4 MB, free: 6.613 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003178/0.0003179, allocations: 15.98 kB / 0.4955 GB, free: 4.496 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2816/0.2819, allocations: 71.33 MB / 0.5652 GB, free: 42.32 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.02049/0.3025, allocations: 29.4 MB / 0.5939 GB, free: 12.43 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.009985/0.3125, allocations: 11.45 MB / 0.6051 GB, free: 100 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001429/0.314, allocations: 27.75 kB / 0.6051 GB, free: 72 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001311/0.3153, allocations: 345.9 kB / 0.6054 GB, free: 15.73 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003821/0.3192, allocations: 1.236 MB / 0.6067 GB, free: 14.49 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00292/0.3221, allocations: 1.033 MB / 0.6077 GB, free: 13.45 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.00509/0.3272, allocations: 4.203 MB / 0.6118 GB, free: 9.238 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002386/0.3296, allocations: 1.155 MB / 0.6129 GB, free: 8.066 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003249/0.3329, allocations: 1.507 MB / 0.6144 GB, free: 6.555 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002889/0.3358, allocations: 1.604 MB / 0.6159 GB, free: 4.945 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005943/0.3364, allocations: 64 kB / 0.616 GB, free: 4.883 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002335/0.3388, allocations: 0.9007 MB / 0.6169 GB, free: 3.98 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006515/0.3395, allocations: 338.7 kB / 0.6172 GB, free: 3.648 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00127/0.3407, allocations: 0.7053 MB / 0.6179 GB, free: 2.934 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002973/0.3437, allocations: 2.093 MB / 0.6199 GB, free: 0.8359 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.3438, allocations: 8 kB / 0.6199 GB, free: 0.8281 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.3438, allocations: 0 / 0.6199 GB, free: 0.8281 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.754e-05/0.3438, allocations: 0 / 0.6199 GB, free: 0.8281 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.002525/0.3464, allocations: 1.328 MB / 0.6212 GB, free: 15.45 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.3464, allocations: 12.03 kB / 0.6212 GB, free: 15.43 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004748/0.3469, allocations: 155.3 kB / 0.6214 GB, free: 15.28 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001761/0.3487, allocations: 0.8909 MB / 0.6223 GB, free: 14.34 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.075e-05/0.3488, allocations: 85.31 kB / 0.6223 GB, free: 14.25 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002458/0.349, allocations: 120 kB / 0.6225 GB, free: 14.13 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001088/0.3501, allocations: 0.6395 MB / 0.6231 GB, free: 13.46 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.3501, allocations: 0 / 0.6231 GB, free: 13.46 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.903e-05/0.3502, allocations: 24 kB / 0.6231 GB, free: 13.44 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.504e-05/0.3502, allocations: 16 kB / 0.6231 GB, free: 13.43 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008776/0.3511, allocations: 476.8 kB / 0.6236 GB, free: 12.96 MB / 442.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.004556/0.3557, allocations: 2.879 MB / 0.6264 GB, free: 9.93 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000616/0.3563, allocations: 317.2 kB / 0.6267 GB, free: 9.613 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002872/0.3566, allocations: 153.4 kB / 0.6268 GB, free: 9.461 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002692/0.3569, allocations: 344.7 kB / 0.6272 GB, free: 9.051 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.3569, allocations: 38.83 kB / 0.6272 GB, free: 9.004 MB / 442.7 MB Notification: Performance of pre-optimization done (n=33): time 1.953e-06/0.3569, allocations: 0 / 0.6272 GB, free: 9.004 MB / 442.7 MB Notification: Performance of matching and sorting (n=33): time 0.001246/0.3582, allocations: 0.5472 MB / 0.6277 GB, free: 8.453 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.3582, allocations: 59.41 kB / 0.6278 GB, free: 8.383 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001206/0.3594, allocations: 0.8997 MB / 0.6287 GB, free: 7.465 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002028/0.3597, allocations: 53.7 kB / 0.6287 GB, free: 7.406 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006435/0.3603, allocations: 0.5264 MB / 0.6292 GB, free: 6.871 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001194/0.3604, allocations: 114.4 kB / 0.6293 GB, free: 6.758 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.187e-05/0.3605, allocations: 12 kB / 0.6294 GB, free: 6.746 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.3606, allocations: 334.1 kB / 0.6297 GB, free: 6.414 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004417/0.3611, allocations: 189.2 kB / 0.6299 GB, free: 6.23 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001517/0.3626, allocations: 1.147 MB / 0.631 GB, free: 4.719 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008654/0.3635, allocations: 475.4 kB / 0.6314 GB, free: 4.234 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.281e-06/0.3635, allocations: 4 kB / 0.6314 GB, free: 4.23 MB / 442.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001362/0.3649, allocations: 0.6617 MB / 0.6321 GB, free: 3.559 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001029/0.365, allocations: 152.3 kB / 0.6322 GB, free: 3.379 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.365, allocations: 4 kB / 0.6322 GB, free: 3.375 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/0.365, allocations: 4 kB / 0.6322 GB, free: 3.371 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001359/0.3664, allocations: 235.7 kB / 0.6325 GB, free: 3.141 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001523/0.3679, allocations: 2.965 MB / 0.6354 GB, free: 60 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003155/0.3711, allocations: 0.7494 MB / 0.6361 GB, free: 15.31 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.109e-05/0.3712, allocations: 27.98 kB / 0.6361 GB, free: 15.28 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.002e-05/0.3712, allocations: 4 kB / 0.6361 GB, free: 15.28 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009872/0.3722, allocations: 0.4971 MB / 0.6366 GB, free: 14.78 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.3722, allocations: 3.984 kB / 0.6366 GB, free: 14.78 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.866e-06/0.3723, allocations: 8 kB / 0.6366 GB, free: 14.77 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000661/0.3729, allocations: 160 kB / 0.6368 GB, free: 14.61 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.849e-06/0.373, allocations: 7.984 kB / 0.6368 GB, free: 14.61 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00294/0.3759, allocations: 0.7339 MB / 0.6375 GB, free: 13.87 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.012e-05/0.376, allocations: 27.98 kB / 0.6375 GB, free: 13.84 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (73): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005387/0.3765, allocations: 333.8 kB / 0.6378 GB, free: 13.5 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001768/0.3767, allocations: 94.78 kB / 0.6379 GB, free: 13.41 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001093/0.3778, allocations: 0.5164 MB / 0.6384 GB, free: 12.89 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/0.3778, allocations: 7.938 kB / 0.6384 GB, free: 12.88 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.3779, allocations: 4 kB / 0.6384 GB, free: 12.88 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.3779, allocations: 7.984 kB / 0.6384 GB, free: 12.87 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001983/0.3799, allocations: 1.272 MB / 0.6397 GB, free: 11.53 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.3799, allocations: 0 / 0.6397 GB, free: 11.53 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005222/0.3804, allocations: 123.9 kB / 0.6398 GB, free: 11.41 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.3804, allocations: 4 kB / 0.6398 GB, free: 11.4 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.982e-05/0.3805, allocations: 11.98 kB / 0.6398 GB, free: 11.39 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001274/0.3817, allocations: 2.942 MB / 0.6427 GB, free: 8.332 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.3818, allocations: 4 kB / 0.6427 GB, free: 8.328 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008396/0.3826, allocations: 0.5816 MB / 0.6433 GB, free: 7.719 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003133/0.3829, allocations: 227.7 kB / 0.6435 GB, free: 7.477 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001129/0.383, allocations: 8.125 kB / 0.6435 GB, free: 7.469 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000527/0.3836, allocations: 67.78 kB / 0.6436 GB, free: 7.402 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.662e-05/0.3837, allocations: 31.89 kB / 0.6436 GB, free: 7.371 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.11e-05/0.3837, allocations: 15.98 kB / 0.6436 GB, free: 7.355 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0007476/0.3845, allocations: 0.6006 MB / 0.6442 GB, free: 6.746 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3845, allocations: 3.938 kB / 0.6442 GB, free: 6.742 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001391/0.3859, allocations: 0.5307 MB / 0.6447 GB, free: 6.211 MB / 458.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 (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007187/0.3866, allocations: 343.8 kB / 0.645 GB, free: 5.875 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00253/0.3891, allocations: 0.8475 MB / 0.6459 GB, free: 5.031 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.3892, allocations: 0 / 0.6459 GB, free: 5.031 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005875/0.3898, allocations: 237.4 kB / 0.6461 GB, free: 4.801 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002468/0.3922, allocations: 487.2 kB / 0.6466 GB, free: 4.324 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002758/0.395, allocations: 1.883 MB / 0.6484 GB, free: 2.402 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006441/0.3957, allocations: 1.025 MB / 0.6494 GB, free: 1.348 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001174/0.3969, allocations: 222.8 kB / 0.6496 GB, free: 1.125 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001915/0.3971, allocations: 83.41 kB / 0.6497 GB, free: 1.043 MB / 458.7 MB Notification: Performance of SimCode: time 6.11e-07/0.3971, allocations: 0 / 0.6497 GB, free: 1.043 MB / 458.7 MB Notification: Performance of Templates: time 0.03833/0.4354, allocations: 24.41 MB / 0.6735 GB, free: 9 MB / 490.7 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1)