Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.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.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve") translateModel(IBPSA.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 173.2 kB / 16.76 MB, free: 4.941 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4682/0.4682, allocations: 86.28 MB / 103.8 MB, free: 14.55 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.378/1.378, allocations: 223.2 MB / 348.4 MB, free: 4.996 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.0008128/0.000813, allocations: 101.5 kB / 420.2 MB, free: 9.652 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003765/0.0003766, allocations: 12 kB / 0.4901 GB, free: 8.012 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.3354, allocations: 71.02 MB / 0.5594 GB, free: 43.73 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6092/0.9447, allocations: 341.1 MB / 0.8926 GB, free: 3.5 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002275/0.945, allocations: 87.7 kB / 0.8927 GB, free: 3.453 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.7656/1.711, allocations: 255.6 MB / 1.142 GB, free: 5.484 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.493e-06/1.711, allocations: 0 / 1.142 GB, free: 5.484 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.244e-05/1.711, allocations: 23.92 kB / 1.142 GB, free: 5.461 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001939/1.713, allocations: 0.9229 MB / 1.143 GB, free: 4.484 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/1.713, allocations: 8.031 kB / 1.143 GB, free: 4.477 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001832/1.713, allocations: 68.19 kB / 1.143 GB, free: 4.41 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008207/1.714, allocations: 492.5 kB / 1.144 GB, free: 3.891 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.569e-05/1.714, allocations: 25.03 kB / 1.144 GB, free: 3.867 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.063e-05/1.714, allocations: 40.38 kB / 1.144 GB, free: 3.828 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005559/1.714, allocations: 314.5 kB / 1.144 GB, free: 3.512 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/1.714, allocations: 3.938 kB / 1.144 GB, free: 3.508 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.412e-05/1.714, allocations: 12 kB / 1.144 GB, free: 3.496 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/1.714, allocations: 8 kB / 1.144 GB, free: 3.488 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005378/1.715, allocations: 274.4 kB / 1.144 GB, free: 3.223 MB / 0.5886 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.001884/1.717, allocations: 1.325 MB / 1.146 GB, free: 1.777 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000489/1.717, allocations: 268.7 kB / 1.146 GB, free: 1.508 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000256/1.718, allocations: 142.5 kB / 1.146 GB, free: 1.367 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002937/1.718, allocations: 0.4986 MB / 1.147 GB, free: 0.7578 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/1.718, allocations: 38.56 kB / 1.147 GB, free: 0.7109 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=25): time 2.215e-06/1.718, allocations: 0 / 1.147 GB, free: 0.7109 MB / 0.5886 GB Notification: Performance of matching and sorting (n=25): time 0.001503/1.72, allocations: 0.5775 MB / 1.147 GB, free: 108 kB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.422e-05/1.72, allocations: 55.41 kB / 1.147 GB, free: 40 kB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3199/2.04, allocations: 456.8 kB / 1.148 GB, free: 144.3 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0001287/2.04, allocations: 35.92 kB / 1.148 GB, free: 144.2 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001557/2.04, allocations: 246.4 kB / 1.148 GB, free: 144.2 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 8.515e-05/2.04, allocations: 87.38 kB / 1.148 GB, free: 144.2 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.726e-05/2.04, allocations: 3.875 kB / 1.148 GB, free: 144.2 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.422e-05/2.04, allocations: 355.9 kB / 1.148 GB, free: 143.8 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003086/2.04, allocations: 123.7 kB / 1.148 GB, free: 143.8 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003316/2.041, allocations: 219.5 kB / 1.149 GB, free: 143.7 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005187/2.041, allocations: 268.4 kB / 1.149 GB, free: 143.7 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/2.041, allocations: 0 / 1.149 GB, free: 143.7 MB / 0.5886 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001112/2.042, allocations: 418.3 kB / 1.149 GB, free: 143.7 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 8.593e-05/2.042, allocations: 107 kB / 1.149 GB, free: 143.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/2.043, allocations: 0.7812 kB / 1.149 GB, free: 143.6 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003775/2.043, allocations: 59.7 kB / 1.15 GB, free: 143.5 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000394/2.043, allocations: 69.52 kB / 1.15 GB, free: 143.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000375/2.044, allocations: 0.5719 MB / 1.15 GB, free: 143 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005371/2.044, allocations: 72.83 kB / 1.15 GB, free: 143 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.075e-05/2.044, allocations: 23.22 kB / 1.15 GB, free: 143 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 9.659e-06/2.044, allocations: 4.125 kB / 1.15 GB, free: 143 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007409/2.045, allocations: 304.6 kB / 1.151 GB, free: 143 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.026e-06/2.045, allocations: 1.125 kB / 1.151 GB, free: 143 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.837e-06/2.045, allocations: 1.844 kB / 1.151 GB, free: 143 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003894/2.045, allocations: 89.33 kB / 1.151 GB, free: 143 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/2.045, allocations: 2.141 kB / 1.151 GB, free: 143 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004286/2.046, allocations: 71.66 kB / 1.151 GB, free: 143 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.961e-05/2.046, allocations: 18.03 kB / 1.151 GB, free: 143 MB / 0.5886 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 (34): * Single equations (assignments): 33 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002589/2.046, allocations: 248.9 kB / 1.151 GB, free: 142.8 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.658e-05/2.046, allocations: 46.89 kB / 1.151 GB, free: 142.8 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001009/2.047, allocations: 430.9 kB / 1.151 GB, free: 142.7 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/2.047, allocations: 3.078 kB / 1.151 GB, free: 142.7 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/2.047, allocations: 5.5 kB / 1.151 GB, free: 142.7 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/2.047, allocations: 4.5 kB / 1.151 GB, free: 142.7 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001604/2.049, allocations: 0.9513 MB / 1.152 GB, free: 142.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/2.049, allocations: 3.375 kB / 1.152 GB, free: 142.4 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002366/2.049, allocations: 53.66 kB / 1.152 GB, free: 142.4 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001631/2.049, allocations: 49.06 kB / 1.152 GB, free: 142.4 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.312e-05/2.049, allocations: 15.58 kB / 1.152 GB, free: 142.4 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002515/2.05, allocations: 0.5569 MB / 1.153 GB, free: 141.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/2.05, allocations: 7.969 kB / 1.153 GB, free: 141.8 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007924/2.051, allocations: 0.4945 MB / 1.153 GB, free: 141.6 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001633/2.051, allocations: 159 kB / 1.154 GB, free: 141.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.425e-05/2.051, allocations: 7.188 kB / 1.154 GB, free: 141.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003714/2.051, allocations: 49.45 kB / 1.154 GB, free: 141.5 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.476e-05/2.051, allocations: 23.86 kB / 1.154 GB, free: 141.5 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.944e-05/2.051, allocations: 12.97 kB / 1.154 GB, free: 141.5 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0003795/2.052, allocations: 316 kB / 1.154 GB, free: 141.4 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.3e-07/2.052, allocations: 4.219 kB / 1.154 GB, free: 141.4 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0009575/2.053, allocations: 277.8 kB / 1.154 GB, free: 141.4 MB / 0.5886 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 (25): * Single equations (assignments): 21 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007052/2.053, allocations: 369.4 kB / 1.155 GB, free: 141.3 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001035/2.054, allocations: 482.1 kB / 1.155 GB, free: 141.3 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/2.054, allocations: 0 / 1.155 GB, free: 141.3 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0003547/2.055, allocations: 171.8 kB / 1.155 GB, free: 141.3 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001289/2.056, allocations: 255.8 kB / 1.156 GB, free: 141.3 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00126/2.057, allocations: 0.9713 MB / 1.156 GB, free: 140.8 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002455/2.058, allocations: 0.8545 MB / 1.157 GB, free: 140.1 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0004073/2.058, allocations: 119.6 kB / 1.157 GB, free: 140.1 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.628e-05/2.058, allocations: 44.55 kB / 1.157 GB, free: 140.1 MB / 0.5886 GB Notification: Performance of SimCode: time 3.11e-07/2.058, allocations: 0 / 1.157 GB, free: 140.1 MB / 0.5886 GB Notification: Performance of Templates: time 0.01792/2.076, allocations: 11.2 MB / 1.168 GB, free: 140 MB / 0.5886 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.makefile (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.sim & ./IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)