Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002659/0.002665, allocations: 359.9 kB / 16.59 MB, free: 5.562 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.33/1.33, allocations: 165.8 MB / 183.1 MB, free: 5.902 MB / 90.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.902/4.902, allocations: 410.7 MB / 0.6001 GB, free: 2.176 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001945/0.001944, allocations: 176.2 kB / 0.6668 GB, free: 14.05 MB / 490.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004975/0.0004977, allocations: 16 kB / 0.7429 GB, free: 40 kB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4907/0.4912, allocations: 67.43 MB / 0.8087 GB, free: 245.5 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.0287/0.5199, allocations: 17.97 MB / 0.8263 GB, free: 233.5 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0158/0.5358, allocations: 7.592 MB / 0.8337 GB, free: 228 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001182/0.537, allocations: 19.84 kB / 0.8337 GB, free: 228 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.001332/0.5384, allocations: 327.2 kB / 0.834 GB, free: 227.7 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.003604/0.542, allocations: 0.7804 MB / 0.8348 GB, free: 227.1 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.01054/0.5526, allocations: 2.234 MB / 0.837 GB, free: 225.8 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.005054/0.5577, allocations: 1.666 MB / 0.8386 GB, free: 224.8 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001834/0.5596, allocations: 414.7 kB / 0.839 GB, free: 224.6 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002492/0.5621, allocations: 0.511 MB / 0.8395 GB, free: 224.3 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001793/0.564, allocations: 0.4894 MB / 0.84 GB, free: 224 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0002492/0.5643, allocations: 27.22 kB / 0.84 GB, free: 224 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002162/0.5665, allocations: 0.5981 MB / 0.8406 GB, free: 223.7 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0002772/0.5668, allocations: 118.6 kB / 0.8407 GB, free: 223.6 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0004725/0.5673, allocations: 153.2 kB / 0.8408 GB, free: 223.5 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.001935/0.5692, allocations: 0.738 MB / 0.8416 GB, free: 223 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 9.308e-06/0.5693, allocations: 8.844 kB / 0.8416 GB, free: 223 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.076e-06/0.5693, allocations: 0 / 0.8416 GB, free: 223 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.544e-05/0.5693, allocations: 0 / 0.8416 GB, free: 223 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002835/0.5722, allocations: 0.9861 MB / 0.8425 GB, free: 222.2 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 6.271e-05/0.5723, allocations: 8.844 kB / 0.8425 GB, free: 222.2 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002762/0.5726, allocations: 78.78 kB / 0.8426 GB, free: 222.2 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001104/0.5737, allocations: 492.5 kB / 0.8431 GB, free: 221.8 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.034e-05/0.5737, allocations: 42.06 kB / 0.8431 GB, free: 221.7 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000109/0.5739, allocations: 48.62 kB / 0.8432 GB, free: 221.7 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001698/0.5756, allocations: 0.6379 MB / 0.8438 GB, free: 221.3 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.813e-05/0.5756, allocations: 5.312 kB / 0.8438 GB, free: 221.3 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.922e-05/0.5757, allocations: 18.97 kB / 0.8438 GB, free: 221.3 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.1e-05/0.5757, allocations: 12.28 kB / 0.8438 GB, free: 221.3 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00189/0.5776, allocations: 0.5181 MB / 0.8443 GB, free: 221 MB / 0.5886 GB 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.004953/0.5826, allocations: 3.209 MB / 0.8475 GB, free: 217.6 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001142/0.5838, allocations: 359 kB / 0.8478 GB, free: 217.2 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007882/0.5846, allocations: 240.7 kB / 0.848 GB, free: 217 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003667/0.585, allocations: 348.4 kB / 0.8484 GB, free: 216.6 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/0.5851, allocations: 30.56 kB / 0.8484 GB, free: 216.6 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=38): time 2.786e-06/0.5851, allocations: 0 / 0.8484 GB, free: 216.6 MB / 0.5886 GB Notification: Performance of matching and sorting (n=38): time 0.003628/0.5887, allocations: 0.868 MB / 0.8492 GB, free: 215.7 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.529e-05/0.5888, allocations: 55.41 kB / 0.8493 GB, free: 215.6 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008632/0.5897, allocations: 0.5821 MB / 0.8499 GB, free: 215 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.538e-05/0.5898, allocations: 29.7 kB / 0.8499 GB, free: 215 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002386/0.59, allocations: 332.4 kB / 0.8502 GB, free: 214.6 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001156/0.5901, allocations: 126.1 kB / 0.8503 GB, free: 214.5 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.274e-05/0.5902, allocations: 15 kB / 0.8503 GB, free: 214.5 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.5903, allocations: 374.7 kB / 0.8507 GB, free: 214.1 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008385/0.5912, allocations: 221.2 kB / 0.8509 GB, free: 213.9 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009243/0.5921, allocations: 385.4 kB / 0.8513 GB, free: 213.5 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009006/0.593, allocations: 252.7 kB / 0.8515 GB, free: 213.2 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.593, allocations: 4 kB / 0.8515 GB, free: 213.2 MB / 0.5886 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002559/0.5956, allocations: 0.7302 MB / 0.8522 GB, free: 212.5 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001344/0.5958, allocations: 219.3 kB / 0.8524 GB, free: 212.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.5958, allocations: 4 kB / 0.8525 GB, free: 212.2 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009614/0.5968, allocations: 146.6 kB / 0.8526 GB, free: 212.1 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001245/0.5981, allocations: 155.8 kB / 0.8527 GB, free: 211.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009133/0.599, allocations: 0.6335 MB / 0.8534 GB, free: 211.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001137/0.6001, allocations: 107.3 kB / 0.8535 GB, free: 211.1 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.537e-05/0.6003, allocations: 35.98 kB / 0.8535 GB, free: 211.1 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.6003, allocations: 7.594 kB / 0.8535 GB, free: 211.1 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001982/0.6023, allocations: 0.6232 MB / 0.8541 GB, free: 210.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.6023, allocations: 8.594 kB / 0.8541 GB, free: 210.5 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.6023, allocations: 8 kB / 0.8541 GB, free: 210.5 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001136/0.6035, allocations: 159.8 kB / 0.8543 GB, free: 210.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.4e-05/0.6035, allocations: 9.953 kB / 0.8543 GB, free: 210.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/0.6045, allocations: 87.72 kB / 0.8544 GB, free: 210.2 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.72e-05/0.6046, allocations: 28 kB / 0.8544 GB, free: 210.2 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003928/0.605, allocations: 280.9 kB / 0.8547 GB, free: 209.9 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001364/0.6052, allocations: 63.19 kB / 0.8547 GB, free: 209.8 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002324/0.6075, allocations: 0.6698 MB / 0.8554 GB, free: 209.2 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/0.6075, allocations: 2.109 kB / 0.8554 GB, free: 209.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.6076, allocations: 0 / 0.8554 GB, free: 209.2 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003535/0.6079, allocations: 200.1 kB / 0.8556 GB, free: 209 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/0.6081, allocations: 15.95 kB / 0.8556 GB, free: 208.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007677/0.6088, allocations: 54.7 kB / 0.8556 GB, free: 208.9 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.609, allocations: 32.33 kB / 0.8557 GB, free: 208.9 MB / 0.5886 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002581/0.6116, allocations: 0.7083 MB / 0.8564 GB, free: 208.1 MB / 0.5886 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00278/0.6144, allocations: 0.9968 MB / 0.8573 GB, free: 207.1 MB / 0.5886 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008367/0.6152, allocations: 241.5 kB / 0.8576 GB, free: 206.9 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0006237/0.6159, allocations: 395.1 kB / 0.8579 GB, free: 206.5 MB / 0.5886 GB Notification: Performance of Backend: time 1.222e-06/0.6159, allocations: 0 / 0.8579 GB, free: 206.5 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.004064/0.62, allocations: 0.9618 MB / 0.8589 GB, free: 205.6 MB / 0.5886 GB Notification: Performance of SimCode: time 0.004143/0.6242, allocations: 1.83 MB / 0.8607 GB, free: 203.7 MB / 0.5886 GB Notification: Performance of Templates: time 0.03598/0.6602, allocations: 13.18 MB / 0.8735 GB, free: 191 MB / 0.5886 GB