Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.822/1.822, allocations: 288.4 MB / 304.3 MB, free: 8.23 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001811/0.001812, allocations: 171.2 kB / 372.9 MB, free: 10.14 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.595/1.595, allocations: 205.4 MB / 0.6316 GB, free: 9.867 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008269/0.0008269, allocations: 96.05 kB / 0.745 GB, free: 5.762 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004618/0.000462, allocations: 12.53 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2544/0.2549, allocations: 115.3 MB / 0.9807 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.6561/0.9111, allocations: 104.6 MB / 1.083 GB, free: 31.09 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.03846/0.9496, allocations: 22.77 MB / 1.105 GB, free: 30.59 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006019/0.9557, allocations: 104.9 kB / 1.105 GB, free: 30.59 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.004172/0.9599, allocations: 0.8927 MB / 1.106 GB, free: 30.57 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0118/0.9717, allocations: 3.059 MB / 1.109 GB, free: 29.83 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.008457/0.9802, allocations: 2.364 MB / 1.111 GB, free: 29.16 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01419/0.9944, allocations: 8.095 MB / 1.119 GB, free: 26 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004009/0.9984, allocations: 2.043 MB / 1.121 GB, free: 25.17 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006009/1.004, allocations: 2.274 MB / 1.123 GB, free: 24.36 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004871/1.009, allocations: 1.907 MB / 1.125 GB, free: 23.75 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0007591/1.01, allocations: 89.56 kB / 1.125 GB, free: 23.75 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005188/1.015, allocations: 1.362 MB / 1.127 GB, free: 23.41 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.000964/1.016, allocations: 491.2 kB / 1.127 GB, free: 23.19 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.003983/1.02, allocations: 1.258 MB / 1.128 GB, free: 22.46 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.005186/1.026, allocations: 3.282 MB / 1.132 GB, free: 20.36 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/1.026, allocations: 4 kB / 1.132 GB, free: 20.36 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.875e-06/1.026, allocations: 0 / 1.132 GB, free: 20.36 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.96e-05/1.026, allocations: 5.188 kB / 1.132 GB, free: 20.36 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 379 * Number of variables: 379 Notification: Performance of Generate backend data structure: time 0.005171/1.031, allocations: 2.642 MB / 1.134 GB, free: 18.43 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.473e-05/1.031, allocations: 8.781 kB / 1.134 GB, free: 18.43 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000812/1.032, allocations: 324.5 kB / 1.135 GB, free: 18.27 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00369/1.035, allocations: 2.118 MB / 1.137 GB, free: 16.72 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001047/1.036, allocations: 126.8 kB / 1.137 GB, free: 16.66 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002455/1.036, allocations: 168.8 kB / 1.137 GB, free: 16.61 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002705/1.039, allocations: 1.604 MB / 1.138 GB, free: 15.61 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.624e-05/1.039, allocations: 1.5 kB / 1.139 GB, free: 15.61 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001329/1.039, allocations: 62.47 kB / 1.139 GB, free: 15.56 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.025e-05/1.039, allocations: 50.41 kB / 1.139 GB, free: 15.55 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00208/1.041, allocations: 1.142 MB / 1.14 GB, free: 14.97 MB / 0.6823 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.0103/1.051, allocations: 7.888 MB / 1.147 GB, free: 8.297 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007379/1.052, allocations: 481.2 kB / 1.148 GB, free: 8.062 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005277/1.052, allocations: 333.7 kB / 1.148 GB, free: 7.895 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004836/1.053, allocations: 0.7487 MB / 1.149 GB, free: 7.027 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/1.053, allocations: 47.7 kB / 1.149 GB, free: 6.973 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=60): time 3.837e-06/1.053, allocations: 4 kB / 1.149 GB, free: 6.969 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60): time 0.002003/1.055, allocations: 0.9833 MB / 1.15 GB, free: 6.477 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.656e-05/1.055, allocations: 62.09 kB / 1.15 GB, free: 6.41 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0025/1.058, allocations: 2.244 MB / 1.152 GB, free: 5.207 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001001/1.058, allocations: 48.52 kB / 1.152 GB, free: 5.16 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006639/1.058, allocations: 1.143 MB / 1.153 GB, free: 4.16 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000164/1.059, allocations: 212 kB / 1.154 GB, free: 3.98 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.314e-05/1.059, allocations: 21.03 kB / 1.154 GB, free: 3.965 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.059e-05/1.059, allocations: 348.2 kB / 1.154 GB, free: 3.629 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005396/1.059, allocations: 349 kB / 1.154 GB, free: 3.453 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007141/1.06, allocations: 0.7303 MB / 1.155 GB, free: 2.801 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001167/1.061, allocations: 0.9757 MB / 1.156 GB, free: 2.09 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/1.061, allocations: 3.344 kB / 1.156 GB, free: 2.09 MB / 0.6823 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.001842/1.063, allocations: 1.27 MB / 1.157 GB, free: 1.465 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001379/1.063, allocations: 346.5 kB / 1.157 GB, free: 1.027 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/1.063, allocations: 6.656 kB / 1.157 GB, free: 1.027 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.606e-05/1.063, allocations: 23.08 kB / 1.158 GB, free: 1.02 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008969/1.064, allocations: 250.2 kB / 1.158 GB, free: 0.9648 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.05e-05/1.064, allocations: 18.97 kB / 1.158 GB, free: 0.9609 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002079/1.066, allocations: 259.6 kB / 1.158 GB, free: 0.8047 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.082e-05/1.066, allocations: 52.73 kB / 1.158 GB, free: 0.793 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.857e-06/1.066, allocations: 5.844 kB / 1.158 GB, free: 0.793 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001465/1.068, allocations: 1.033 MB / 1.159 GB, free: 304 kB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/1.068, allocations: 6.156 kB / 1.159 GB, free: 304 kB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/1.068, allocations: 14.16 kB / 1.159 GB, free: 304 kB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008254/1.069, allocations: 250 kB / 1.159 GB, free: 248 kB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.43e-05/1.069, allocations: 17.31 kB / 1.159 GB, free: 244 kB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001738/1.07, allocations: 221.8 kB / 1.16 GB, free: 116 kB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.279e-05/1.07, allocations: 52.42 kB / 1.16 GB, free: 104 kB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (141): * Single equations (assignments): 141 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001108/1.072, allocations: 0.5722 MB / 1.16 GB, free: 15.67 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003137/1.072, allocations: 243.1 kB / 1.16 GB, free: 15.54 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001614/1.074, allocations: 0.8901 MB / 1.161 GB, free: 15.03 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000991/1.075, allocations: 0.6922 MB / 1.162 GB, free: 14.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/1.075, allocations: 0 / 1.162 GB, free: 14.61 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001044/1.076, allocations: 443.1 kB / 1.162 GB, free: 14.24 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002333/1.076, allocations: 15.09 kB / 1.162 GB, free: 14.23 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001088/1.077, allocations: 116.5 kB / 1.163 GB, free: 14.17 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/1.077, allocations: 34.3 kB / 1.163 GB, free: 14.16 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001494/1.079, allocations: 0.8086 MB / 1.163 GB, free: 13.71 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001956/1.081, allocations: 1.393 MB / 1.165 GB, free: 12.86 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000463/1.081, allocations: 311.1 kB / 1.165 GB, free: 12.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002053/1.083, allocations: 1.502 MB / 1.166 GB, free: 11.89 MB / 0.698 GB Notification: Performance of Backend: time 5.31e-07/1.083, allocations: 0 / 1.166 GB, free: 11.89 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004857/1.088, allocations: 1.968 MB / 1.168 GB, free: 10.25 MB / 0.698 GB Notification: Performance of SimCode: time 0.01108/1.099, allocations: 5.859 MB / 1.174 GB, free: 4.355 MB / 0.698 GB Notification: Performance of Templates: time 0.09173/1.191, allocations: 48.52 MB / 1.221 GB, free: 4.266 MB / 0.7448 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)