Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.conf.json 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/IBPSA 3.0.0-master/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 IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") translateModel(IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 171.9 kB / 16.76 MB, free: 5.059 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4614/0.4614, allocations: 86.28 MB / 103.8 MB, free: 14.57 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 223.2 MB / 348.4 MB, free: 5.039 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008044/0.0008045, allocations: 93.78 kB / 420.2 MB, free: 9.664 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003678/0.0003679, allocations: 12 kB / 0.4901 GB, free: 8.012 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2942/0.2946, allocations: 71.02 MB / 0.5595 GB, free: 43.74 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7808/1.075, allocations: 379.6 MB / 0.9301 GB, free: 233.8 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002821/1.076, allocations: 106.5 kB / 0.9302 GB, free: 233.8 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.198/4.273, allocations: 1.118 GB / 2.048 GB, free: 37.3 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.485e-06/4.273, allocations: 0 / 2.048 GB, free: 37.3 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0002076/4.274, allocations: 70.08 kB / 2.048 GB, free: 37.28 MB / 0.6198 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.005858/4.28, allocations: 2.706 MB / 2.051 GB, free: 35.3 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/4.28, allocations: 10.56 kB / 2.051 GB, free: 35.3 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005831/4.28, allocations: 263.5 kB / 2.051 GB, free: 35.17 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003395/4.284, allocations: 1.687 MB / 2.053 GB, free: 33.89 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.034e-05/4.284, allocations: 108.8 kB / 2.053 GB, free: 33.84 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001933/4.284, allocations: 143.9 kB / 2.053 GB, free: 33.8 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001924/4.286, allocations: 1.159 MB / 2.054 GB, free: 33.09 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.862e-05/4.286, allocations: 11.88 kB / 2.054 GB, free: 33.08 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.521e-05/4.286, allocations: 50.28 kB / 2.054 GB, free: 33.04 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.133e-05/4.286, allocations: 28.47 kB / 2.054 GB, free: 33.04 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001613/4.288, allocations: 1.013 MB / 2.055 GB, free: 32.53 MB / 0.6198 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.01022/4.298, allocations: 6.364 MB / 2.061 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008883/4.299, allocations: 0.6022 MB / 2.062 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005237/4.299, allocations: 397 kB / 2.062 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003372/4.3, allocations: 0.5096 MB / 2.063 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.945e-05/4.3, allocations: 42.53 kB / 2.063 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002209/4.302, allocations: 483.5 kB / 2.063 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=58): time 6.944e-06/4.302, allocations: 0 / 2.063 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of matching and sorting (n=58): time 0.001959/4.304, allocations: 1.135 MB / 2.064 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.971e-05/4.304, allocations: 59.5 kB / 2.064 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00227/4.306, allocations: 1.889 MB / 2.066 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001605/4.306, allocations: 49.7 kB / 2.066 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006143/4.307, allocations: 0.9281 MB / 2.067 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001309/4.307, allocations: 201.1 kB / 2.067 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.977e-05/4.307, allocations: 24 kB / 2.067 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.606e-05/4.307, allocations: 349.9 kB / 2.068 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006627/4.308, allocations: 410.4 kB / 2.068 GB, free: 22 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009183/4.309, allocations: 0.7531 MB / 2.069 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001236/4.31, allocations: 0.8921 MB / 2.07 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/4.31, allocations: 0 / 2.07 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.002512/4.313, allocations: 1.342 MB / 2.071 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.915e-05/4.313, allocations: 175 kB / 2.071 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/4.313, allocations: 0 / 2.071 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.798e-05/4.313, allocations: 12 kB / 2.071 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001101/4.314, allocations: 283.6 kB / 2.071 GB, free: 18.35 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.673e-05/4.314, allocations: 11.92 kB / 2.071 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002189/4.316, allocations: 159.7 kB / 2.072 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001306/4.316, allocations: 59.94 kB / 2.072 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.596e-06/4.316, allocations: 4 kB / 2.072 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001675/4.318, allocations: 1.116 MB / 2.073 GB, free: 17 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/4.318, allocations: 4 kB / 2.073 GB, free: 17 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.314e-06/4.318, allocations: 4 kB / 2.073 GB, free: 16.99 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009849/4.319, allocations: 275.6 kB / 2.073 GB, free: 16.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/4.319, allocations: 8 kB / 2.073 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002013/4.321, allocations: 171.5 kB / 2.073 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001068/4.321, allocations: 59.89 kB / 2.073 GB, free: 16.49 MB / 0.6198 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.001011/4.322, allocations: 448.8 kB / 2.074 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004641/4.323, allocations: 204.1 kB / 2.074 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001931/4.325, allocations: 1.068 MB / 2.075 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-05/4.325, allocations: 11.98 kB / 2.075 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/4.325, allocations: 7.938 kB / 2.075 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/4.325, allocations: 7.922 kB / 2.075 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0034/4.328, allocations: 2.398 MB / 2.077 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.505e-06/4.328, allocations: 4 kB / 2.077 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005519/4.329, allocations: 135.8 kB / 2.077 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/4.329, allocations: 4 kB / 2.077 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.747e-05/4.329, allocations: 16 kB / 2.077 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.002e-06/4.329, allocations: 4 kB / 2.077 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/4.329, allocations: 4 kB / 2.077 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001143/4.33, allocations: 1.059 MB / 2.078 GB, free: 11 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006213/4.331, allocations: 378.2 kB / 2.079 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001882/4.331, allocations: 12 kB / 2.079 GB, free: 10.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009076/4.332, allocations: 111.7 kB / 2.079 GB, free: 10.49 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/4.332, allocations: 52.58 kB / 2.079 GB, free: 10.44 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.21e-05/4.332, allocations: 28 kB / 2.079 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001379/4.333, allocations: 1.233 MB / 2.08 GB, free: 9.168 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.6e-07/4.333, allocations: 0 / 2.08 GB, free: 9.168 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002346/4.336, allocations: 0.987 MB / 2.081 GB, free: 8.18 MB / 0.6198 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.0013/4.337, allocations: 0.9941 MB / 2.082 GB, free: 7.262 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002232/4.339, allocations: 1.571 MB / 2.084 GB, free: 5.691 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/4.339, allocations: 0 / 2.084 GB, free: 5.691 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004794/4.34, allocations: 404.6 kB / 2.084 GB, free: 5.301 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005112/4.345, allocations: 1.113 MB / 2.085 GB, free: 4.219 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004052/4.349, allocations: 3.492 MB / 2.089 GB, free: 0.6797 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008124/4.35, allocations: 1.409 MB / 2.09 GB, free: 15.24 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.002053/4.352, allocations: 396.9 kB / 2.09 GB, free: 14.87 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003999/4.352, allocations: 167.3 kB / 2.091 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of SimCode: time 7.72e-07/4.352, allocations: 0 / 2.091 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of Templates: time 0.4418/4.794, allocations: 44.13 MB / 2.134 GB, free: 52.34 MB / 0.6355 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)