Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.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 Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.903/4.903, allocations: 0.5623 GB / 0.5776 GB, free: 3.359 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002505/0.002505, allocations: 360.3 kB / 0.6447 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.368/4.368, allocations: 410.7 MB / 1.113 GB, free: 5.949 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001829/0.001829, allocations: 178.8 kB / 1.226 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004846/0.0004849, allocations: 16 kB / 1.349 GB, free: 8.281 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7451/0.7456, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.0211/0.7667, allocations: 17.98 MB / 1.479 GB, free: 266.3 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.01381/0.7806, allocations: 7.604 MB / 1.486 GB, free: 258.8 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009083/0.7816, allocations: 19.81 kB / 1.486 GB, free: 258.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001169/0.7828, allocations: 320.2 kB / 1.487 GB, free: 258.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.002817/0.7856, allocations: 0.7904 MB / 1.487 GB, free: 257.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.007802/0.7934, allocations: 2.218 MB / 1.49 GB, free: 255.5 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.002596/0.796, allocations: 1.681 MB / 1.491 GB, free: 253.9 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007881/0.7969, allocations: 415 kB / 1.492 GB, free: 253.5 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001131/0.798, allocations: 0.5074 MB / 1.492 GB, free: 252.9 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008103/0.7988, allocations: 496.8 kB / 1.493 GB, free: 252.5 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 9.352e-05/0.799, allocations: 28 kB / 1.493 GB, free: 252.4 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001527/0.8005, allocations: 0.5972 MB / 1.493 GB, free: 251.8 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001629/0.8007, allocations: 127.4 kB / 1.493 GB, free: 251.7 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.00021/0.8009, allocations: 150.7 kB / 1.493 GB, free: 251.6 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001091/0.802, allocations: 0.7403 MB / 1.494 GB, free: 250.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.802, allocations: 0 / 1.494 GB, free: 250.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.633e-06/0.802, allocations: 0 / 1.494 GB, free: 250.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.926e-06/0.8021, allocations: 1.406 kB / 1.494 GB, free: 250.8 MB / 0.8542 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.002381/0.8044, allocations: 0.9875 MB / 1.495 GB, free: 249.8 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.8045, allocations: 11.62 kB / 1.495 GB, free: 249.8 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001618/0.8047, allocations: 83.88 kB / 1.495 GB, free: 249.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008752/0.8056, allocations: 490.6 kB / 1.496 GB, free: 249.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.987e-05/0.8056, allocations: 37.97 kB / 1.496 GB, free: 249.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.267e-05/0.8057, allocations: 48 kB / 1.496 GB, free: 249.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001477/0.8072, allocations: 0.6384 MB / 1.496 GB, free: 248.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.426e-05/0.8073, allocations: 3.938 kB / 1.496 GB, free: 248.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.24e-05/0.8073, allocations: 23.98 kB / 1.496 GB, free: 248.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.822e-05/0.8074, allocations: 12.59 kB / 1.496 GB, free: 248.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001683/0.809, allocations: 0.5144 MB / 1.497 GB, free: 247.9 MB / 0.8542 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.004526/0.8136, allocations: 3.175 MB / 1.5 GB, free: 244.5 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001075/0.8147, allocations: 365.8 kB / 1.5 GB, free: 244.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007719/0.8155, allocations: 249.4 kB / 1.501 GB, free: 243.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003537/0.8159, allocations: 345.2 kB / 1.501 GB, free: 243.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/0.8159, allocations: 43.44 kB / 1.501 GB, free: 243.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=38): time 2.916e-06/0.8159, allocations: 0 / 1.501 GB, free: 243.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=38): time 0.003449/0.8194, allocations: 0.8648 MB / 1.502 GB, free: 242.6 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.323e-05/0.8194, allocations: 55.97 kB / 1.502 GB, free: 242.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007881/0.8202, allocations: 0.5762 MB / 1.502 GB, free: 241.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.098e-05/0.8203, allocations: 33.7 kB / 1.503 GB, free: 241.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002261/0.8205, allocations: 328.4 kB / 1.503 GB, free: 241.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/0.8207, allocations: 130.1 kB / 1.503 GB, free: 241.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.237e-05/0.8207, allocations: 13.94 kB / 1.503 GB, free: 241.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.8208, allocations: 370.8 kB / 1.503 GB, free: 241.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007877/0.8216, allocations: 223.5 kB / 1.504 GB, free: 240.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000873/0.8225, allocations: 374.1 kB / 1.504 GB, free: 240.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009096/0.8234, allocations: 257.1 kB / 1.504 GB, free: 240.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/0.8235, allocations: 0 / 1.504 GB, free: 240.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002318/0.8258, allocations: 0.7292 MB / 1.505 GB, free: 239.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001186/0.826, allocations: 228.2 kB / 1.505 GB, free: 239.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.826, allocations: 7.984 kB / 1.505 GB, free: 239.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009461/0.8269, allocations: 152.8 kB / 1.505 GB, free: 239 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001253/0.8282, allocations: 151.8 kB / 1.505 GB, free: 238.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008773/0.8291, allocations: 0.6276 MB / 1.506 GB, free: 238.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/0.8302, allocations: 102 kB / 1.506 GB, free: 238.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.158e-05/0.8303, allocations: 31.98 kB / 1.506 GB, free: 238.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.8303, allocations: 5.375 kB / 1.506 GB, free: 238.1 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001988/0.8323, allocations: 0.6231 MB / 1.507 GB, free: 237.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.779e-06/0.8324, allocations: 4 kB / 1.507 GB, free: 237.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.8324, allocations: 8 kB / 1.507 GB, free: 237.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/0.8335, allocations: 166.4 kB / 1.507 GB, free: 237.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.529e-05/0.8335, allocations: 12 kB / 1.507 GB, free: 237.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009913/0.8346, allocations: 91.45 kB / 1.507 GB, free: 237.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.434e-05/0.8347, allocations: 31.98 kB / 1.507 GB, free: 237.2 MB / 0.8542 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.0004267/0.8351, allocations: 272.6 kB / 1.507 GB, free: 236.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/0.8352, allocations: 70.72 kB / 1.507 GB, free: 236.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002271/0.8375, allocations: 0.6814 MB / 1.508 GB, free: 236.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/0.8375, allocations: 3.984 kB / 1.508 GB, free: 236.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.8376, allocations: 0 / 1.508 GB, free: 236.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003253/0.8379, allocations: 200.1 kB / 1.508 GB, free: 235.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001188/0.838, allocations: 11.94 kB / 1.508 GB, free: 235.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007776/0.8388, allocations: 55.89 kB / 1.508 GB, free: 235.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.8389, allocations: 32.33 kB / 1.508 GB, free: 235.8 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002538/0.8415, allocations: 0.7005 MB / 1.509 GB, free: 235.1 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002745/0.8443, allocations: 1.004 MB / 1.51 GB, free: 234.1 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007768/0.8451, allocations: 244.3 kB / 1.51 GB, free: 233.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0005854/0.8457, allocations: 391.1 kB / 1.511 GB, free: 233.5 MB / 0.8542 GB Notification: Performance of Backend: time 6.11e-07/0.8457, allocations: 0 / 1.511 GB, free: 233.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.003696/0.8494, allocations: 0.9658 MB / 1.512 GB, free: 232.5 MB / 0.8542 GB Notification: Performance of SimCode: time 0.003694/0.8531, allocations: 1.826 MB / 1.513 GB, free: 230.7 MB / 0.8542 GB Notification: Performance of Templates: time 0.03292/0.8861, allocations: 13.18 MB / 1.526 GB, free: 217.9 MB / 0.8542 GB