Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.794/1.794, allocations: 287.4 MB / 303.2 MB, free: 8.27 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.001026/0.001026, allocations: 183 kB / 371.8 MB, free: 10.85 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.498/1.498, allocations: 205.4 MB / 0.6304 GB, free: 10.58 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.0008773/0.0008774, allocations: 95.56 kB / 0.7438 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004587/0.0004588, allocations: 11.48 kB / 0.8667 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2582/0.2587, allocations: 115.3 MB / 0.9793 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.6936/0.9524, allocations: 104.6 MB / 1.081 GB, free: 30.52 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.03935/0.9918, allocations: 22.78 MB / 1.104 GB, free: 30.06 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006414/0.9983, allocations: 104.1 kB / 1.104 GB, free: 30.06 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.004301/1.003, allocations: 0.8878 MB / 1.105 GB, free: 30.04 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01117/1.014, allocations: 2.841 MB / 1.107 GB, free: 29.39 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.009364/1.023, allocations: 2.344 MB / 1.11 GB, free: 29.07 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01637/1.04, allocations: 8.099 MB / 1.118 GB, free: 25.91 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00473/1.044, allocations: 2.036 MB / 1.12 GB, free: 25.09 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007138/1.052, allocations: 2.196 MB / 1.122 GB, free: 24.3 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005715/1.057, allocations: 1.915 MB / 1.124 GB, free: 23.69 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0008385/1.058, allocations: 88.69 kB / 1.124 GB, free: 23.69 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005247/1.063, allocations: 1.135 MB / 1.125 GB, free: 23.39 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0009497/1.064, allocations: 497.2 kB / 1.125 GB, free: 23.17 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001758/1.066, allocations: 0.5579 MB / 1.126 GB, free: 22.85 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.006319/1.073, allocations: 3.232 MB / 1.129 GB, free: 21.73 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.816e-06/1.073, allocations: 1.5 kB / 1.129 GB, free: 21.73 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.609e-06/1.073, allocations: 0 / 1.129 GB, free: 21.73 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001301/1.073, allocations: 4 kB / 1.129 GB, free: 21.73 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.006276/1.079, allocations: 2.65 MB / 1.132 GB, free: 19.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.593e-05/1.079, allocations: 8.781 kB / 1.132 GB, free: 19.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001087/1.08, allocations: 325 kB / 1.132 GB, free: 19.64 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004388/1.085, allocations: 2.117 MB / 1.134 GB, free: 18.09 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001162/1.085, allocations: 124.4 kB / 1.134 GB, free: 18.03 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002991/1.085, allocations: 169.3 kB / 1.134 GB, free: 17.98 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00328/1.088, allocations: 1.604 MB / 1.136 GB, free: 16.98 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.085e-05/1.088, allocations: 5.969 kB / 1.136 GB, free: 16.97 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001439/1.089, allocations: 62.34 kB / 1.136 GB, free: 16.93 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.982e-05/1.089, allocations: 48.89 kB / 1.136 GB, free: 16.92 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002313/1.091, allocations: 1.145 MB / 1.137 GB, free: 16.34 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.01153/1.103, allocations: 7.883 MB / 1.145 GB, free: 9.668 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008294/1.103, allocations: 478.9 kB / 1.145 GB, free: 9.434 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005112/1.104, allocations: 334.8 kB / 1.145 GB, free: 9.266 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005254/1.104, allocations: 0.7543 MB / 1.146 GB, free: 8.395 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/1.104, allocations: 43.38 kB / 1.146 GB, free: 8.344 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=60): time 2.795e-06/1.104, allocations: 0 / 1.146 GB, free: 8.344 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60): time 0.002235/1.107, allocations: 0.9949 MB / 1.147 GB, free: 7.844 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.155e-05/1.107, allocations: 60.98 kB / 1.147 GB, free: 7.781 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00306/1.11, allocations: 2.238 MB / 1.149 GB, free: 6.582 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001614/1.11, allocations: 54.14 kB / 1.15 GB, free: 6.531 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000716/1.111, allocations: 1.142 MB / 1.151 GB, free: 5.531 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001865/1.111, allocations: 214.4 kB / 1.151 GB, free: 5.352 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.219e-05/1.111, allocations: 19.34 kB / 1.151 GB, free: 5.336 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.124e-05/1.111, allocations: 352 kB / 1.151 GB, free: 4.996 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005559/1.112, allocations: 338.4 kB / 1.152 GB, free: 4.832 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007197/1.112, allocations: 0.7348 MB / 1.152 GB, free: 4.176 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001189/1.114, allocations: 0.9708 MB / 1.153 GB, free: 3.469 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/1.114, allocations: 0 / 1.153 GB, free: 3.469 MB / 0.6823 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002256/1.116, allocations: 1.282 MB / 1.154 GB, free: 2.832 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001707/1.116, allocations: 342.5 kB / 1.155 GB, free: 2.402 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.617e-05/1.116, allocations: 9.094 kB / 1.155 GB, free: 2.402 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.392e-05/1.116, allocations: 13.38 kB / 1.155 GB, free: 2.402 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009795/1.117, allocations: 254.2 kB / 1.155 GB, free: 2.344 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.247e-05/1.117, allocations: 24.69 kB / 1.155 GB, free: 2.332 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002275/1.119, allocations: 259 kB / 1.155 GB, free: 2.18 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001018/1.119, allocations: 50.23 kB / 1.155 GB, free: 2.168 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.824e-06/1.12, allocations: 3.25 kB / 1.155 GB, free: 2.168 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00157/1.121, allocations: 1.03 MB / 1.156 GB, free: 1.672 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/1.121, allocations: 6.719 kB / 1.156 GB, free: 1.672 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/1.121, allocations: 16.56 kB / 1.156 GB, free: 1.672 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000835/1.122, allocations: 253.5 kB / 1.157 GB, free: 1.613 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.618e-05/1.122, allocations: 17.25 kB / 1.157 GB, free: 1.609 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002122/1.124, allocations: 227.5 kB / 1.157 GB, free: 1.48 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.733e-05/1.124, allocations: 50.33 kB / 1.157 GB, free: 1.469 MB / 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.001282/1.126, allocations: 0.5773 MB / 1.157 GB, free: 1.035 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004951/1.126, allocations: 240 kB / 1.158 GB, free: 0.9062 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001622/1.128, allocations: 0.8809 MB / 1.159 GB, free: 416 kB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000956/1.129, allocations: 0.6954 MB / 1.159 GB, free: 15.99 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/1.129, allocations: 0 / 1.159 GB, free: 15.99 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001185/1.13, allocations: 449.2 kB / 1.16 GB, free: 15.61 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002628/1.13, allocations: 11.31 kB / 1.16 GB, free: 15.61 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001111/1.131, allocations: 118 kB / 1.16 GB, free: 15.55 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/1.131, allocations: 39.84 kB / 1.16 GB, free: 15.53 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00144/1.133, allocations: 0.7895 MB / 1.161 GB, free: 15.1 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001959/1.135, allocations: 1.398 MB / 1.162 GB, free: 14.25 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004903/1.135, allocations: 322.6 kB / 1.162 GB, free: 14.09 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002543/1.138, allocations: 1.486 MB / 1.164 GB, free: 13.28 MB / 0.698 GB Notification: Performance of Backend: time 5.01e-07/1.138, allocations: 0 / 1.164 GB, free: 13.28 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00572/1.144, allocations: 1.963 MB / 1.166 GB, free: 12.37 MB / 0.698 GB Notification: Performance of SimCode: time 0.01096/1.155, allocations: 5.853 MB / 1.171 GB, free: 6.488 MB / 0.698 GB Notification: Performance of Templates: time 0.08082/1.235, allocations: 47.89 MB / 1.218 GB, free: 6.98 MB / 0.7448 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & ./Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)