Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck") translateModel(BuildingSystems.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.008124/0.008124, allocations: 170.9 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 223.3 MB / 240.3 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001676/0.001675, allocations: 274.2 kB / 291.7 MB, free: 1.859 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.915/0.915, allocations: 169.5 MB / 0.5004 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004411/0.0004411, allocations: 13.86 kB / 0.5986 GB, free: 28.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.1764, allocations: 88.55 MB / 0.6851 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamDerivativeCheck): time 0.0012/0.1777, allocations: 0.9908 MB / 0.6861 GB, free: 14.07 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4662/0.6439, allocations: 134.2 MB / 0.8172 GB, free: 0.6211 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.84e-05/0.6439, allocations: 0 / 0.8172 GB, free: 0.6211 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.014e-05/0.644, allocations: 3.859 kB / 0.8172 GB, free: 0.6211 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.143e-05/0.644, allocations: 6.516 kB / 0.8172 GB, free: 0.6172 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001037/0.6451, allocations: 375.5 kB / 0.8175 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.124e-05/0.6452, allocations: 44.19 kB / 0.8176 GB, free: 0.5664 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.62e-05/0.6452, allocations: 2.875 kB / 0.8176 GB, free: 0.5664 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.093e-05/0.6452, allocations: 24.52 kB / 0.8176 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.731e-05/0.6453, allocations: 16.02 kB / 0.8176 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.064e-05/0.6453, allocations: 0.9688 kB / 0.8176 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001318/0.6467, allocations: 0.8218 MB / 0.8184 GB, free: 0.543 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.575e-05/0.6467, allocations: 12.55 kB / 0.8184 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.657e-05/0.6468, allocations: 50.48 kB / 0.8185 GB, free: 16.5 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004928/0.6473, allocations: 439.8 kB / 0.8189 GB, free: 16.37 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.6473, allocations: 1.5 kB / 0.8189 GB, free: 16.37 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.423e-06/0.6473, allocations: 3.938 kB / 0.8189 GB, free: 16.37 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.386e-06/0.6473, allocations: 0 / 0.8189 GB, free: 16.37 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004034/0.6477, allocations: 351.1 kB / 0.8193 GB, free: 16 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.6477, allocations: 8.969 kB / 0.8193 GB, free: 16 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001707/0.6479, allocations: 13.23 kB / 0.8193 GB, free: 16 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.159e-05/0.648, allocations: 173.2 kB / 0.8194 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.648, allocations: 6.219 kB / 0.8194 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.463e-05/0.6481, allocations: 4.719 kB / 0.8195 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000128/0.6482, allocations: 57.11 kB / 0.8195 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/0.6482, allocations: 0 / 0.8195 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.6482, allocations: 4.625 kB / 0.8195 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.6482, allocations: 1.25 kB / 0.8195 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.695e-05/0.6483, allocations: 13.42 kB / 0.8195 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001396/0.6485, allocations: 165.5 kB / 0.8197 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.861e-05/0.6486, allocations: 58.34 kB / 0.8197 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.613e-05/0.6486, allocations: 16.95 kB / 0.8198 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01083/0.6594, allocations: 3.208 MB / 0.8229 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/0.6595, allocations: 40.09 kB / 0.8229 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 2.134e-06/0.6595, allocations: 0 / 0.8229 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.03704/0.6965, allocations: 14.25 MB / 0.8368 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.817e-05/0.6966, allocations: 55.34 kB / 0.8369 GB, free: 9.637 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.528e-05/0.6967, allocations: 101.1 kB / 0.837 GB, free: 9.531 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.6967, allocations: 29.27 kB / 0.837 GB, free: 9.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.951e-05/0.6968, allocations: 80.14 kB / 0.8371 GB, free: 9.418 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.242e-05/0.6968, allocations: 46.83 kB / 0.8371 GB, free: 9.387 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.934e-05/0.6969, allocations: 16.38 kB / 0.8372 GB, free: 9.371 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.697, allocations: 317.7 kB / 0.8375 GB, free: 9.055 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.508e-05/0.697, allocations: 18.41 kB / 0.8375 GB, free: 9.055 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.075e-05/0.6971, allocations: 25.05 kB / 0.8375 GB, free: 9.051 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001101/0.6972, allocations: 69.62 kB / 0.8376 GB, free: 9.031 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.6972, allocations: 0 / 0.8376 GB, free: 9.031 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001938/0.6974, allocations: 109.2 kB / 0.8377 GB, free: 8.988 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.6974, allocations: 8.5 kB / 0.8377 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.6974, allocations: 1.688 kB / 0.8377 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.6975, allocations: 0 / 0.8377 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.6976, allocations: 27.67 kB / 0.8377 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.6976, allocations: 0 / 0.8377 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.401e-05/0.6976, allocations: 2.812 kB / 0.8377 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.757e-06/0.6976, allocations: 1.781 kB / 0.8377 GB, free: 8.98 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.969e-05/0.6977, allocations: 125.4 kB / 0.8378 GB, free: 8.859 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.072e-05/0.6978, allocations: 10.8 kB / 0.8378 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002391/0.698, allocations: 122.1 kB / 0.838 GB, free: 8.785 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.698, allocations: 3.344 kB / 0.838 GB, free: 8.785 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.698, allocations: 4 kB / 0.838 GB, free: 8.781 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.698, allocations: 0 / 0.838 GB, free: 8.781 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001294/0.6982, allocations: 178 kB / 0.8381 GB, free: 8.582 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.6982, allocations: 0 / 0.8381 GB, free: 8.582 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001123/0.6983, allocations: 27.55 kB / 0.8382 GB, free: 8.578 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.6983, allocations: 6.312 kB / 0.8382 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.6983, allocations: 2.562 kB / 0.8382 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.6983, allocations: 0 / 0.8382 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.6983, allocations: 2.156 kB / 0.8382 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002622/0.6986, allocations: 163.7 kB / 0.8383 GB, free: 8.48 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.554e-05/0.6987, allocations: 90.98 kB / 0.8384 GB, free: 8.379 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/0.6987, allocations: 3.625 kB / 0.8384 GB, free: 8.379 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000136/0.6988, allocations: 15.08 kB / 0.8384 GB, free: 8.375 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.987e-05/0.6989, allocations: 6.625 kB / 0.8384 GB, free: 8.375 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/0.6989, allocations: 6.953 kB / 0.8384 GB, free: 8.371 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.335e-05/0.6989, allocations: 81 kB / 0.8385 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6989, allocations: 0 / 0.8385 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001921/0.7009, allocations: 0.5663 MB / 0.8391 GB, free: 8.27 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hVapSym,cpSym,cvSym) * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002668/0.7035, allocations: 353.2 kB / 0.8394 GB, free: 8.121 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001529/0.7037, allocations: 67.66 kB / 0.8395 GB, free: 8.113 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.7037, allocations: 0 / 0.8395 GB, free: 8.113 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.348e-05/0.7038, allocations: 40.83 kB / 0.8395 GB, free: 8.102 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001855/0.704, allocations: 13.5 kB / 0.8395 GB, free: 8.098 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005644/0.7045, allocations: 406.2 kB / 0.8399 GB, free: 7.766 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002188/0.7048, allocations: 0.6879 MB / 0.8406 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.866e-05/0.7049, allocations: 20.56 kB / 0.8406 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.737e-05/0.7049, allocations: 19.62 kB / 0.8406 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of SimCode: time 2.1e-07/0.7049, allocations: 0 / 0.8406 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of Templates: time 0.03464/0.7395, allocations: 24.23 MB / 0.8643 GB, free: 112 kB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe 2>&1)