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.0008849/0.0008849, allocations: 89.73 kB / 15.06 MB, free: 1.098 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.001083/0.001084, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.4/1.4, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.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.656/1.656, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0005292/0.0005293, allocations: 14.03 kB / 0.6737 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2753/0.2759, allocations: 116.3 MB / 0.7873 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.0287/0.3046, allocations: 28.54 MB / 0.8151 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01785/0.3225, allocations: 13.17 MB / 0.828 GB, free: 2.105 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00145/0.324, allocations: 31.69 kB / 0.828 GB, free: 2.074 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001006/0.325, allocations: 274.2 kB / 0.8283 GB, free: 1.805 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002709/0.3277, allocations: 0.9247 MB / 0.8292 GB, free: 0.875 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002219/0.33, allocations: 0.7044 MB / 0.8299 GB, free: 184 kB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00316/0.3331, allocations: 2.393 MB / 0.8322 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009083/0.3341, allocations: 0.5187 MB / 0.8327 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001728/0.3358, allocations: 0.8205 MB / 0.8335 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008753/0.3367, allocations: 0.6184 MB / 0.8341 GB, free: 11.81 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 7.383e-05/0.3368, allocations: 32 kB / 0.8342 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001164/0.3379, allocations: 0.5223 MB / 0.8347 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001431/0.3381, allocations: 123.4 kB / 0.8348 GB, free: 11.13 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002021/0.3383, allocations: 181.3 kB / 0.835 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0008269/0.3391, allocations: 0.7481 MB / 0.8357 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.3392, allocations: 0 / 0.8357 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3392, allocations: 3.938 kB / 0.8357 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.057e-05/0.3392, allocations: 0 / 0.8357 GB, free: 10.2 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.001666/0.3409, allocations: 1.023 MB / 0.8367 GB, free: 9.117 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.3409, allocations: 12.03 kB / 0.8367 GB, free: 9.105 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001364/0.3411, allocations: 90.88 kB / 0.8368 GB, free: 9.016 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007466/0.3418, allocations: 0.5343 MB / 0.8373 GB, free: 8.441 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4e-05/0.3419, allocations: 41 kB / 0.8374 GB, free: 8.402 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.192e-05/0.3419, allocations: 60 kB / 0.8374 GB, free: 8.344 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007034/0.3426, allocations: 406.4 kB / 0.8378 GB, free: 7.938 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.3427, allocations: 0 / 0.8378 GB, free: 7.938 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.875e-05/0.3427, allocations: 23.98 kB / 0.8378 GB, free: 7.914 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/0.3427, allocations: 15.95 kB / 0.8378 GB, free: 7.898 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005461/0.3433, allocations: 311.8 kB / 0.8381 GB, free: 7.594 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.00258/0.3459, allocations: 1.854 MB / 0.8399 GB, free: 5.59 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003163/0.3462, allocations: 170.5 kB / 0.8401 GB, free: 5.414 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001582/0.3464, allocations: 88.8 kB / 0.8402 GB, free: 5.324 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002538/0.3466, allocations: 340.5 kB / 0.8405 GB, free: 4.918 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.3467, allocations: 34.55 kB / 0.8406 GB, free: 4.875 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=19): time 1.373e-06/0.3467, allocations: 0 / 0.8406 GB, free: 4.875 MB / 0.6544 GB Notification: Performance of matching and sorting (n=19): time 0.0006077/0.3473, allocations: 323.6 kB / 0.8409 GB, free: 4.555 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.3473, allocations: 55.39 kB / 0.8409 GB, free: 4.488 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006796/0.348, allocations: 0.6685 MB / 0.8416 GB, free: 3.812 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.275e-05/0.3481, allocations: 37.7 kB / 0.8416 GB, free: 3.77 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002683/0.3483, allocations: 352.1 kB / 0.8419 GB, free: 3.418 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 8.2e-05/0.3484, allocations: 78.98 kB / 0.842 GB, free: 3.34 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.591e-05/0.3484, allocations: 4 kB / 0.842 GB, free: 3.336 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.3486, allocations: 378.7 kB / 0.8424 GB, free: 2.957 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002264/0.3488, allocations: 99.94 kB / 0.8425 GB, free: 2.859 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000281/0.3491, allocations: 186 kB / 0.8427 GB, free: 2.652 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002491/0.3494, allocations: 133.5 kB / 0.8428 GB, free: 2.523 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.3494, allocations: 0 / 0.8428 GB, free: 2.523 MB / 0.6544 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006251/0.35, allocations: 390.5 kB / 0.8432 GB, free: 2.137 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 6.049e-05/0.3501, allocations: 114.7 kB / 0.8433 GB, free: 2.012 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.3501, allocations: 0 / 0.8433 GB, free: 2.012 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.3501, allocations: 112 / 0.8433 GB, free: 2.012 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008957/0.351, allocations: 167.8 kB / 0.8434 GB, free: 1.848 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001237/0.3523, allocations: 2.372 MB / 0.8457 GB, free: 15.38 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005349/0.3528, allocations: 87.59 kB / 0.8458 GB, free: 15.3 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.471e-05/0.3529, allocations: 19.98 kB / 0.8458 GB, free: 15.28 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 8.236e-06/0.3529, allocations: 4 kB / 0.8458 GB, free: 15.27 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005229/0.3534, allocations: 292.1 kB / 0.8461 GB, free: 14.99 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.685e-06/0.3534, allocations: 0 / 0.8461 GB, free: 14.99 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.5e-06/0.3534, allocations: 4 kB / 0.8461 GB, free: 14.98 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003712/0.3538, allocations: 95.88 kB / 0.8462 GB, free: 14.89 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.3538, allocations: 4 kB / 0.8462 GB, free: 14.89 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003916/0.3542, allocations: 79.53 kB / 0.8463 GB, free: 14.81 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.93e-05/0.3543, allocations: 19.95 kB / 0.8463 GB, free: 14.79 MB / 0.67 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 (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002529/0.3545, allocations: 269.6 kB / 0.8466 GB, free: 14.52 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.053e-05/0.3546, allocations: 67.16 kB / 0.8466 GB, free: 14.45 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006225/0.3552, allocations: 316.2 kB / 0.8469 GB, free: 14.14 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.844e-06/0.3553, allocations: 0 / 0.8469 GB, free: 14.14 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.3553, allocations: 0 / 0.8469 GB, free: 14.14 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.206e-06/0.3553, allocations: 4 kB / 0.8469 GB, free: 14.13 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001237/0.3565, allocations: 0.8956 MB / 0.8478 GB, free: 13.17 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.3565, allocations: 0 / 0.8478 GB, free: 13.17 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002797/0.3568, allocations: 71.88 kB / 0.8479 GB, free: 13.1 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.169e-06/0.3568, allocations: 4.125 kB / 0.8479 GB, free: 13.09 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/0.3569, allocations: 12 kB / 0.8479 GB, free: 13.08 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001179/0.3581, allocations: 2.356 MB / 0.8502 GB, free: 10.63 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.3581, allocations: 0 / 0.8502 GB, free: 10.63 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005194/0.3586, allocations: 408.9 kB / 0.8506 GB, free: 10.21 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002152/0.3588, allocations: 172.1 kB / 0.8508 GB, free: 10.02 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.989e-05/0.3589, allocations: 4 kB / 0.8508 GB, free: 10.02 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003463/0.3592, allocations: 63.73 kB / 0.8508 GB, free: 9.953 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.083e-05/0.3593, allocations: 19.92 kB / 0.8508 GB, free: 9.934 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.806e-05/0.3593, allocations: 11.98 kB / 0.8509 GB, free: 9.922 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005051/0.3599, allocations: 463 kB / 0.8513 GB, free: 9.473 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3599, allocations: 0 / 0.8513 GB, free: 9.473 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0009175/0.3608, allocations: 339.2 kB / 0.8516 GB, free: 9.141 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005766/0.3614, allocations: 247.3 kB / 0.8519 GB, free: 8.898 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001429/0.3628, allocations: 0.5089 MB / 0.8523 GB, free: 8.395 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.3628, allocations: 0 / 0.8523 GB, free: 8.395 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0003549/0.3632, allocations: 144 kB / 0.8525 GB, free: 8.254 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001745/0.3649, allocations: 380.6 kB / 0.8528 GB, free: 7.891 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001822/0.3668, allocations: 1.326 MB / 0.8541 GB, free: 6.527 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004547/0.3672, allocations: 0.9254 MB / 0.855 GB, free: 5.574 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0004285/0.3677, allocations: 116.8 kB / 0.8552 GB, free: 5.461 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.335e-05/0.3678, allocations: 47.44 kB / 0.8552 GB, free: 5.414 MB / 0.67 GB Notification: Performance of SimCode: time 3.11e-07/0.3678, allocations: 4 kB / 0.8552 GB, free: 5.41 MB / 0.67 GB Notification: Performance of Templates: time 0.02079/0.3886, allocations: 12.08 MB / 0.867 GB, free: 9.555 MB / 0.6856 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: