Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.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.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") translateModel(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.619/2.619, allocations: 287.5 MB / 302.4 MB, free: 8.25 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.001348/0.001348, allocations: 189 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.239/2.239, allocations: 205.4 MB / 0.6297 GB, free: 10.61 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.0009407/0.0009402, allocations: 88.34 kB / 0.743 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007022/0.0007027, allocations: 12.42 kB / 0.8658 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2763/0.2771, allocations: 115.3 MB / 0.9783 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.8946/1.172, allocations: 143.3 MB / 1.118 GB, free: 25.46 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.06998/1.242, allocations: 32.87 MB / 1.15 GB, free: 3.332 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00798/1.25, allocations: 140.2 kB / 1.151 GB, free: 3.258 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.004039/1.254, allocations: 0.6964 MB / 1.151 GB, free: 2.863 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01158/1.266, allocations: 2.489 MB / 1.154 GB, free: 1.426 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.009449/1.275, allocations: 2 MB / 1.156 GB, free: 148 kB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01381/1.289, allocations: 6.178 MB / 1.162 GB, free: 12.47 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004973/1.294, allocations: 1.637 MB / 1.163 GB, free: 11.43 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008367/1.302, allocations: 2.183 MB / 1.165 GB, free: 10.2 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005783/1.308, allocations: 1.774 MB / 1.167 GB, free: 9.188 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0009535/1.309, allocations: 94.94 kB / 1.167 GB, free: 9.188 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004904/1.314, allocations: 0.8583 MB / 1.168 GB, free: 8.766 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001315/1.316, allocations: 407.5 kB / 1.168 GB, free: 8.453 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001695/1.317, allocations: 464.1 kB / 1.169 GB, free: 8.203 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.005501/1.323, allocations: 2.381 MB / 1.171 GB, free: 6.496 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/1.323, allocations: 0 / 1.171 GB, free: 6.496 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.316e-06/1.323, allocations: 0 / 1.171 GB, free: 6.496 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000127/1.323, allocations: 0 / 1.171 GB, free: 6.496 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.007835/1.331, allocations: 2.335 MB / 1.173 GB, free: 4.801 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/1.331, allocations: 10.28 kB / 1.174 GB, free: 4.801 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001095/1.332, allocations: 262.5 kB / 1.174 GB, free: 4.668 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004449/1.336, allocations: 1.354 MB / 1.175 GB, free: 3.621 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001414/1.337, allocations: 101.1 kB / 1.175 GB, free: 3.574 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004613/1.337, allocations: 138.7 kB / 1.175 GB, free: 3.531 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003612/1.341, allocations: 1.156 MB / 1.176 GB, free: 2.828 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.987e-05/1.341, allocations: 0 / 1.176 GB, free: 2.828 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001843/1.341, allocations: 46.47 kB / 1.176 GB, free: 2.793 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.881e-05/1.341, allocations: 28.31 kB / 1.177 GB, free: 2.793 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003394/1.344, allocations: 1.017 MB / 1.177 GB, free: 2.273 MB / 0.698 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.01815/1.363, allocations: 6.326 MB / 1.184 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001719/1.364, allocations: 0.5708 MB / 1.184 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001036/1.366, allocations: 394.9 kB / 1.185 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005849/1.366, allocations: 0.501 MB / 1.185 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.957e-05/1.366, allocations: 45.72 kB / 1.185 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002995/1.369, allocations: 338.2 kB / 1.185 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=58): time 7.795e-06/1.369, allocations: 0 / 1.185 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=58): time 0.003803/1.373, allocations: 1.125 MB / 1.187 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.153e-05/1.373, allocations: 59.88 kB / 1.187 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004183/1.377, allocations: 1.829 MB / 1.188 GB, free: 9.613 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0003083/1.378, allocations: 45.7 kB / 1.188 GB, free: 9.562 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001275/1.379, allocations: 0.9066 MB / 1.189 GB, free: 8.645 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004361/1.38, allocations: 209 kB / 1.19 GB, free: 8.438 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001196/1.38, allocations: 20 kB / 1.19 GB, free: 8.418 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001897/1.38, allocations: 345.9 kB / 1.19 GB, free: 8.074 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001356/1.381, allocations: 430.3 kB / 1.19 GB, free: 7.656 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001713/1.383, allocations: 0.6528 MB / 1.191 GB, free: 6.922 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001675/1.385, allocations: 0.4983 MB / 1.191 GB, free: 6.426 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/1.385, allocations: 3.938 kB / 1.191 GB, free: 6.422 MB / 0.7136 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.004397/1.389, allocations: 1.361 MB / 1.193 GB, free: 5.051 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001758/1.389, allocations: 194.5 kB / 1.193 GB, free: 4.812 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/1.389, allocations: 4 kB / 1.193 GB, free: 4.809 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.299e-05/1.389, allocations: 12 kB / 1.193 GB, free: 4.797 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002589/1.392, allocations: 287.6 kB / 1.193 GB, free: 4.516 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.946e-05/1.392, allocations: 15.92 kB / 1.193 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003182/1.395, allocations: 159.5 kB / 1.193 GB, free: 4.344 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003072/1.396, allocations: 59.95 kB / 1.193 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/1.396, allocations: 4 kB / 1.193 GB, free: 4.281 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003542/1.399, allocations: 1.143 MB / 1.195 GB, free: 3.137 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/1.399, allocations: 4 kB / 1.195 GB, free: 3.133 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.111e-05/1.399, allocations: 8 kB / 1.195 GB, free: 3.125 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002417/1.402, allocations: 291.9 kB / 1.195 GB, free: 2.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.647e-05/1.402, allocations: 8 kB / 1.195 GB, free: 2.832 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003046/1.405, allocations: 151.6 kB / 1.195 GB, free: 2.684 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002698/1.405, allocations: 55.95 kB / 1.195 GB, free: 2.629 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (150): * Single equations (assignments): 150 * 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.001295/1.406, allocations: 454 kB / 1.195 GB, free: 2.176 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000622/1.407, allocations: 197.5 kB / 1.196 GB, free: 1.98 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003625/1.411, allocations: 1.07 MB / 1.197 GB, free: 0.8984 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.73e-05/1.411, allocations: 19.94 kB / 1.197 GB, free: 0.8789 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/1.411, allocations: 0 / 1.197 GB, free: 0.8789 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.463e-05/1.411, allocations: 3.984 kB / 1.197 GB, free: 0.875 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006722/1.418, allocations: 2.385 MB / 1.199 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.349e-05/1.418, allocations: 7.938 kB / 1.199 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001134/1.419, allocations: 135.8 kB / 1.199 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.351e-05/1.419, allocations: 4 kB / 1.199 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.216e-05/1.419, allocations: 19.98 kB / 1.199 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.043e-05/1.419, allocations: 8.188 kB / 1.199 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/1.419, allocations: 4 kB / 1.199 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002752/1.422, allocations: 1.054 MB / 1.2 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001118/1.423, allocations: 366.3 kB / 1.201 GB, free: 12.76 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004055/1.423, allocations: 15.98 kB / 1.201 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001731/1.425, allocations: 107.7 kB / 1.201 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001612/1.425, allocations: 44.59 kB / 1.201 GB, free: 12.6 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.163e-05/1.425, allocations: 31.98 kB / 1.201 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.002801/1.428, allocations: 1.196 MB / 1.202 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7.82e-07/1.428, allocations: 4 kB / 1.202 GB, free: 11.35 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.003798/1.432, allocations: 0.9043 MB / 1.203 GB, free: 10.45 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (77): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 Backend phase and start with SimCode phase: time 0.001035/1.433, allocations: 329.3 kB / 1.203 GB, free: 10.13 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00485/1.438, allocations: 1.579 MB / 1.205 GB, free: 8.551 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/1.438, allocations: 7.938 kB / 1.205 GB, free: 8.543 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.00114/1.439, allocations: 404.9 kB / 1.205 GB, free: 8.148 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01074/1.45, allocations: 1.15 MB / 1.206 GB, free: 7.008 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008731/1.459, allocations: 3.467 MB / 1.21 GB, free: 3.492 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001463/1.46, allocations: 1.394 MB / 1.211 GB, free: 2.062 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.003156/1.463, allocations: 398.3 kB / 1.211 GB, free: 1.676 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00083/1.464, allocations: 167.4 kB / 1.212 GB, free: 1.512 MB / 0.7292 GB Notification: Performance of SimCode: time 1.563e-06/1.464, allocations: 0 / 1.212 GB, free: 1.512 MB / 0.7292 GB Notification: Performance of Templates: time 0.1053/1.57, allocations: 36.27 MB / 1.247 GB, free: 13.62 MB / 0.7761 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & ./Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)