Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") translateModel(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.575/1.575, allocations: 297.8 MB / 313.7 MB, free: 148 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009569/0.000957, allocations: 183.5 kB / 384.6 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.278/1.278, allocations: 223.2 MB / 0.6626 GB, free: 4.27 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007172/0.0007173, allocations: 94.77 kB / 0.7808 GB, free: 50.32 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003553/0.0003553, allocations: 13.78 kB / 0.9088 GB, free: 2.879 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5862/0.5866, allocations: 120.3 MB / 1.026 GB, free: 55.82 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7639/1.351, allocations: 420.7 MB / 1.437 GB, free: 247.4 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003015/1.351, allocations: 104.5 kB / 1.437 GB, free: 247.4 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.753/5.104, allocations: 1.118 GB / 2.555 GB, free: 103.7 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.605e-06/5.104, allocations: 0 / 2.555 GB, free: 103.7 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0002761/5.104, allocations: 68.5 kB / 2.555 GB, free: 103.7 MB / 0.9948 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.006674/5.111, allocations: 2.707 MB / 2.558 GB, free: 102.7 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/5.111, allocations: 10.25 kB / 2.558 GB, free: 102.7 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000402/5.111, allocations: 266.1 kB / 2.558 GB, free: 102.5 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002989/5.114, allocations: 1.681 MB / 2.56 GB, free: 102.1 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.025e-05/5.114, allocations: 109.4 kB / 2.56 GB, free: 102.1 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001876/5.115, allocations: 158.1 kB / 2.56 GB, free: 102.1 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001768/5.116, allocations: 1.159 MB / 2.561 GB, free: 102 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.979e-05/5.116, allocations: 6.375 kB / 2.561 GB, free: 102 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001164/5.117, allocations: 45.84 kB / 2.561 GB, free: 102 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.034e-05/5.117, allocations: 29.84 kB / 2.561 GB, free: 102 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001681/5.118, allocations: 1.014 MB / 2.562 GB, free: 102 MB / 0.9948 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.009117/5.127, allocations: 6.375 MB / 2.568 GB, free: 99.36 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007918/5.128, allocations: 0.5891 MB / 2.569 GB, free: 99.33 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004935/5.129, allocations: 406.9 kB / 2.569 GB, free: 99.32 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003536/5.129, allocations: 0.5099 MB / 2.57 GB, free: 98.75 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/5.129, allocations: 37.91 kB / 2.57 GB, free: 98.71 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001678/5.131, allocations: 473.1 kB / 2.57 GB, free: 98.66 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=58): time 3.898e-06/5.131, allocations: 3.125 kB / 2.57 GB, free: 98.66 MB / 0.9948 GB Notification: Performance of matching and sorting (n=58): time 0.001773/5.133, allocations: 1.137 MB / 2.571 GB, free: 98.51 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/5.133, allocations: 60.47 kB / 2.571 GB, free: 98.44 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001962/5.135, allocations: 1.881 MB / 2.573 GB, free: 98.2 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 7.721e-05/5.135, allocations: 49.83 kB / 2.573 GB, free: 98.17 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006057/5.135, allocations: 0.9231 MB / 2.574 GB, free: 97.91 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001294/5.135, allocations: 201.4 kB / 2.574 GB, free: 97.79 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.012e-05/5.136, allocations: 25.28 kB / 2.574 GB, free: 97.79 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 8.646e-05/5.136, allocations: 350 kB / 2.575 GB, free: 97.48 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006267/5.136, allocations: 414.9 kB / 2.575 GB, free: 97.48 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008489/5.137, allocations: 0.7603 MB / 2.576 GB, free: 97.13 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001206/5.138, allocations: 0.8877 MB / 2.577 GB, free: 97.04 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/5.138, allocations: 0 / 2.577 GB, free: 97.04 MB / 0.9948 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.001976/5.14, allocations: 1.346 MB / 2.578 GB, free: 96.87 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 6.885e-05/5.14, allocations: 167.5 kB / 2.578 GB, free: 96.69 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/5.14, allocations: 2.25 kB / 2.578 GB, free: 96.69 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.163e-05/5.14, allocations: 14.25 kB / 2.578 GB, free: 96.69 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/5.142, allocations: 279 kB / 2.578 GB, free: 96.69 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.18e-05/5.142, allocations: 13.44 kB / 2.578 GB, free: 96.69 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001708/5.143, allocations: 158.9 kB / 2.579 GB, free: 96.68 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001453/5.144, allocations: 60.5 kB / 2.579 GB, free: 96.68 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 9.648e-06/5.144, allocations: 5.969 kB / 2.579 GB, free: 96.68 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002151/5.146, allocations: 1.112 MB / 2.58 GB, free: 96.65 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/5.146, allocations: 2.594 kB / 2.58 GB, free: 96.65 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/5.146, allocations: 11.06 kB / 2.58 GB, free: 96.65 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/5.147, allocations: 273.1 kB / 2.58 GB, free: 96.65 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.623e-05/5.147, allocations: 10.19 kB / 2.58 GB, free: 96.65 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001341/5.148, allocations: 170.3 kB / 2.58 GB, free: 96.63 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001128/5.148, allocations: 64.25 kB / 2.58 GB, free: 96.63 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (146): * Single equations (assignments): 146 * 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.0008283/5.149, allocations: 438.9 kB / 2.581 GB, free: 96.44 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002322/5.149, allocations: 200.6 kB / 2.581 GB, free: 96.34 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001904/5.151, allocations: 1.079 MB / 2.582 GB, free: 96.24 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-05/5.151, allocations: 12.64 kB / 2.582 GB, free: 96.24 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/5.151, allocations: 0 / 2.582 GB, free: 96.24 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.767e-06/5.151, allocations: 7.688 kB / 2.582 GB, free: 96.24 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003336/5.155, allocations: 2.401 MB / 2.584 GB, free: 95.84 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/5.155, allocations: 5.281 kB / 2.584 GB, free: 95.84 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000533/5.155, allocations: 135.3 kB / 2.584 GB, free: 95.84 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.617e-06/5.155, allocations: 9.141 kB / 2.584 GB, free: 95.84 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.072e-05/5.155, allocations: 17.62 kB / 2.584 GB, free: 95.84 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.696e-06/5.155, allocations: 11.16 kB / 2.584 GB, free: 95.84 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/5.155, allocations: 1.031 kB / 2.584 GB, free: 95.84 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001359/5.157, allocations: 1.057 MB / 2.586 GB, free: 95.52 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005289/5.157, allocations: 371.8 kB / 2.586 GB, free: 95.31 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001939/5.158, allocations: 19.11 kB / 2.586 GB, free: 95.31 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009444/5.158, allocations: 114.1 kB / 2.586 GB, free: 95.3 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/5.159, allocations: 49.17 kB / 2.586 GB, free: 95.3 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.098e-05/5.159, allocations: 30.5 kB / 2.586 GB, free: 95.3 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001844/5.16, allocations: 1.232 MB / 2.587 GB, free: 95.15 MB / 0.9948 GB Notification: Performance of sort global known variables: time 3.11e-07/5.161, allocations: 1.156 kB / 2.587 GB, free: 95.15 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.002598/5.163, allocations: 0.9785 MB / 2.588 GB, free: 95.07 MB / 0.9948 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.001512/5.165, allocations: 0.9865 MB / 2.589 GB, free: 94.81 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.002467/5.167, allocations: 1.576 MB / 2.591 GB, free: 94.79 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/5.167, allocations: 2.734 kB / 2.591 GB, free: 94.79 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005545/5.168, allocations: 401.4 kB / 2.591 GB, free: 94.79 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005336/5.173, allocations: 1.111 MB / 2.592 GB, free: 94.77 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004824/5.178, allocations: 3.498 MB / 2.596 GB, free: 93.04 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001244/5.179, allocations: 1.406 MB / 2.597 GB, free: 92.31 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.002257/5.181, allocations: 397.5 kB / 2.597 GB, free: 92.29 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004415/5.182, allocations: 162.9 kB / 2.598 GB, free: 92.29 MB / 0.9948 GB Notification: Performance of SimCode: time 1.363e-06/5.182, allocations: 0.625 kB / 2.598 GB, free: 92.29 MB / 0.9948 GB Notification: Performance of Templates: time 0.07851/5.26, allocations: 44.16 MB / 2.641 GB, free: 90.34 MB / 0.9948 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile (rm -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & ./Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)