Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") translateModel(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001808/0.001808, allocations: 105.3 kB / 16.36 MB, free: 6.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001955/0.001955, allocations: 191.2 kB / 17.3 MB, free: 5.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.547/1.547, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.905/1.905, allocations: 292.3 MB / 0.5496 GB, free: 17.51 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001722/0.001722, allocations: 71.89 kB / 0.6729 GB, free: 5.816 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3469/0.3486, allocations: 114.6 MB / 0.7848 GB, free: 3.145 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.4723/0.821, allocations: 31.03 MB / 0.8151 GB, free: 30.47 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01827/0.8393, allocations: 13.96 MB / 0.8287 GB, free: 20.89 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001786/0.8411, allocations: 32.81 kB / 0.8288 GB, free: 20.88 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001333/0.8425, allocations: 402 kB / 0.8291 GB, free: 20.62 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.003705/0.8462, allocations: 1.136 MB / 0.8302 GB, free: 19.96 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002753/0.849, allocations: 0.8557 MB / 0.8311 GB, free: 19.53 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00351/0.8525, allocations: 2.052 MB / 0.8331 GB, free: 18.6 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001405/0.8539, allocations: 0.6701 MB / 0.8337 GB, free: 18.33 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002517/0.8564, allocations: 0.97 MB / 0.8347 GB, free: 17.88 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001141/0.8576, allocations: 0.6643 MB / 0.8353 GB, free: 17.59 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001079/0.8577, allocations: 57.78 kB / 0.8354 GB, free: 17.59 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001537/0.8593, allocations: 0.6156 MB / 0.836 GB, free: 17.39 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001988/0.8595, allocations: 164 kB / 0.8361 GB, free: 17.29 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0005129/0.86, allocations: 422.3 kB / 0.8366 GB, free: 17.05 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001949/0.862, allocations: 1.095 MB / 0.8376 GB, free: 16.63 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.862, allocations: 0 / 0.8376 GB, free: 16.63 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.817e-06/0.862, allocations: 1.688 kB / 0.8376 GB, free: 16.63 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.357e-05/0.862, allocations: 3.938 kB / 0.8376 GB, free: 16.62 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.002018/0.864, allocations: 1.149 MB / 0.8387 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.8641, allocations: 8.719 kB / 0.8388 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001598/0.8643, allocations: 95.58 kB / 0.8388 GB, free: 15.76 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000942/0.8652, allocations: 0.5866 MB / 0.8394 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.226e-05/0.8652, allocations: 47.56 kB / 0.8395 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.502e-05/0.8653, allocations: 54.31 kB / 0.8395 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007391/0.8661, allocations: 409.8 kB / 0.8399 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.8661, allocations: 0 / 0.8399 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.334e-05/0.8661, allocations: 19.53 kB / 0.8399 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/0.8661, allocations: 11.47 kB / 0.8399 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006141/0.8668, allocations: 299.8 kB / 0.8402 GB, free: 15.05 MB / 0.6544 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.002894/0.8697, allocations: 1.862 MB / 0.842 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003398/0.87, allocations: 166.6 kB / 0.8422 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001784/0.8702, allocations: 85.52 kB / 0.8423 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002164/0.8704, allocations: 336.5 kB / 0.8426 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.8705, allocations: 38 kB / 0.8426 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=19): time 1.613e-06/0.8705, allocations: 0 / 0.8426 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of matching and sorting (n=19): time 0.0007502/0.8712, allocations: 303.9 kB / 0.8429 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.606e-05/0.8713, allocations: 57.62 kB / 0.843 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007578/0.872, allocations: 0.6699 MB / 0.8436 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.816e-05/0.8721, allocations: 35.86 kB / 0.8437 GB, free: 12.78 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002159/0.8723, allocations: 367.4 kB / 0.844 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.898e-05/0.8723, allocations: 61.86 kB / 0.8441 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001527/0.8725, allocations: 90.27 kB / 0.8442 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.79e-05/0.8726, allocations: 378.4 kB / 0.8445 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002555/0.8729, allocations: 117.8 kB / 0.8446 GB, free: 12 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003046/0.8732, allocations: 186.8 kB / 0.8448 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004478/0.8736, allocations: 236.5 kB / 0.845 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.8736, allocations: 0 / 0.845 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007264/0.8744, allocations: 398.4 kB / 0.8454 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.8744, allocations: 5.969 kB / 0.8454 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.8744, allocations: 0.7031 kB / 0.8454 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.8744, allocations: 3.281 kB / 0.8454 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/0.8754, allocations: 163.1 kB / 0.8456 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007584/0.8762, allocations: 2.363 MB / 0.8479 GB, free: 9.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005721/0.8768, allocations: 62.25 kB / 0.848 GB, free: 9.199 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.437e-05/0.8768, allocations: 13.75 kB / 0.848 GB, free: 9.199 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000391/0.8772, allocations: 252.8 kB / 0.8482 GB, free: 9.051 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000277/0.8775, allocations: 171.8 kB / 0.8484 GB, free: 8.953 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003938/0.8779, allocations: 234.4 kB / 0.8486 GB, free: 8.84 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.485e-06/0.8779, allocations: 1.484 kB / 0.8486 GB, free: 8.84 MB / 0.6544 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.000674/0.8786, allocations: 378.3 kB / 0.849 GB, free: 8.684 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 9.798e-06/0.8786, allocations: 5.969 kB / 0.849 GB, free: 8.684 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-06/0.8786, allocations: 1.922 kB / 0.849 GB, free: 8.684 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.151e-06/0.8787, allocations: 8.531 kB / 0.849 GB, free: 8.68 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004358/0.8791, allocations: 99.62 kB / 0.8491 GB, free: 8.672 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.8791, allocations: 6.344 kB / 0.8491 GB, free: 8.668 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004716/0.8796, allocations: 40.5 kB / 0.8491 GB, free: 8.652 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.248e-05/0.8796, allocations: 17.31 kB / 0.8491 GB, free: 8.648 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001191/0.8798, allocations: 194.4 kB / 0.8493 GB, free: 8.457 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.812e-05/0.8799, allocations: 66.72 kB / 0.8494 GB, free: 8.422 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006839/0.8805, allocations: 314.5 kB / 0.8497 GB, free: 8.289 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.8806, allocations: 0.7969 kB / 0.8497 GB, free: 8.289 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.8806, allocations: 1.219 kB / 0.8497 GB, free: 8.289 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001589/0.8807, allocations: 163 kB / 0.8498 GB, free: 8.145 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.052e-05/0.8808, allocations: 5.719 kB / 0.8498 GB, free: 8.141 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003138/0.8811, allocations: 21.25 kB / 0.8499 GB, free: 8.137 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.862e-05/0.8812, allocations: 20.44 kB / 0.8499 GB, free: 8.129 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007027/0.8819, allocations: 365.8 kB / 0.8502 GB, free: 7.926 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006734/0.8826, allocations: 0.554 MB / 0.8508 GB, free: 7.582 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001857/0.8828, allocations: 91.62 kB / 0.8509 GB, free: 7.555 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005259/0.8833, allocations: 469.7 kB / 0.8513 GB, free: 7.359 MB / 0.6544 GB Notification: Performance of Backend: time 3.21e-07/0.8833, allocations: 4.562 kB / 0.8513 GB, free: 7.355 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002473/0.8858, allocations: 0.6794 MB / 0.852 GB, free: 7.137 MB / 0.6544 GB Notification: Performance of SimCode: time 0.002654/0.8885, allocations: 1.794 MB / 0.8537 GB, free: 6.027 MB / 0.6544 GB Notification: Performance of Templates: time 0.02552/0.914, allocations: 13.82 MB / 0.8672 GB, free: 0.7695 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile (rm -f Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & ./Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)