Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.SteamProperties.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 4.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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamProperties") translateModel(IBPSA.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 182.7 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5675/0.5675, allocations: 87.5 MB / 104.9 MB, free: 13.03 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.329/1.329, allocations: 222.9 MB / 349.1 MB, free: 2.758 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.0008992/0.0008993, allocations: 100.2 kB / 420 MB, free: 8.496 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00109/0.00109, allocations: 52.11 kB / 0.4891 GB, free: 7.723 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3576/0.3588, allocations: 70.06 MB / 0.5575 GB, free: 44.86 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamProperties): time 0.1397/0.4985, allocations: 134 MB / 0.6884 GB, free: 6.66 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.4221/0.9206, allocations: 24.63 MB / 0.7124 GB, free: 2.477 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001657/0.9208, allocations: 3.375 kB / 0.7124 GB, free: 2.477 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0002797/0.9211, allocations: 37.7 kB / 0.7125 GB, free: 2.477 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0002587/0.9214, allocations: 86.08 kB / 0.7126 GB, free: 2.477 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0197/0.9411, allocations: 5.288 MB / 0.7177 GB, free: 2.41 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0005732/0.9417, allocations: 315.1 kB / 0.718 GB, free: 2.41 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 6.604e-05/0.9418, allocations: 13.59 kB / 0.718 GB, free: 2.402 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003561/0.9421, allocations: 131.8 kB / 0.7182 GB, free: 2.402 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001688/0.9423, allocations: 91.69 kB / 0.7182 GB, free: 2.402 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.9423, allocations: 6.406 kB / 0.7183 GB, free: 2.402 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02514/0.9675, allocations: 10.85 MB / 0.7289 GB, free: 2.305 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001472/0.9677, allocations: 40.45 kB / 0.7289 GB, free: 2.305 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0002225/0.9679, allocations: 79.03 kB / 0.729 GB, free: 2.305 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.01871/0.9866, allocations: 6.192 MB / 0.735 GB, free: 2.109 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.9867, allocations: 0 / 0.735 GB, free: 2.109 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.502e-06/0.9867, allocations: 2.812 kB / 0.735 GB, free: 2.109 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.215e-06/0.9867, allocations: 0 / 0.735 GB, free: 2.109 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.004289/0.991, allocations: 1.184 MB / 0.7362 GB, free: 1.359 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.9911, allocations: 10.75 kB / 0.7362 GB, free: 1.359 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001188/0.9922, allocations: 86.11 kB / 0.7363 GB, free: 1.348 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002147/0.9925, allocations: 229.4 kB / 0.7365 GB, free: 1.145 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.9925, allocations: 13.11 kB / 0.7365 GB, free: 1.145 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.479e-05/0.9925, allocations: 24.94 kB / 0.7365 GB, free: 1.141 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001053/0.9936, allocations: 446.8 kB / 0.7369 GB, free: 1.074 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.9936, allocations: 0 / 0.7369 GB, free: 1.074 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.626e-05/0.9936, allocations: 9.781 kB / 0.737 GB, free: 1.074 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.9937, allocations: 10.17 kB / 0.737 GB, free: 1.07 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001061/0.9947, allocations: 0.5923 MB / 0.7375 GB, free: 1.07 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001021/0.9958, allocations: 0.8868 MB / 0.7384 GB, free: 16.41 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008057/0.9966, allocations: 249.1 kB / 0.7386 GB, free: 16.38 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001063/0.9967, allocations: 78.03 kB / 0.7387 GB, free: 16.38 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09079/1.087, allocations: 35.04 MB / 0.7729 GB, free: 5.445 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/1.088, allocations: 38.25 kB / 0.773 GB, free: 5.402 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=25): time 1.654e-06/1.088, allocations: 0 / 0.773 GB, free: 5.402 MB / 0.5417 GB Notification: Performance of matching and sorting (n=25): time 0.00169/1.089, allocations: 416 kB / 0.7734 GB, free: 5.086 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/1.089, allocations: 56.5 kB / 0.7734 GB, free: 5.02 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/1.089, allocations: 149.5 kB / 0.7736 GB, free: 4.879 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.085e-05/1.089, allocations: 29.14 kB / 0.7736 GB, free: 4.848 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.744e-05/1.09, allocations: 103.5 kB / 0.7737 GB, free: 4.75 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 7.226e-05/1.09, allocations: 88.09 kB / 0.7738 GB, free: 4.676 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/1.09, allocations: 82.28 kB / 0.7739 GB, free: 4.613 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001213/1.09, allocations: 322.1 kB / 0.7742 GB, free: 4.293 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001623/1.09, allocations: 80.58 kB / 0.7742 GB, free: 4.238 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002219/1.09, allocations: 133.5 kB / 0.7744 GB, free: 4.117 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003852/1.091, allocations: 223.3 kB / 0.7746 GB, free: 3.957 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/1.091, allocations: 5.094 kB / 0.7746 GB, free: 3.953 MB / 0.5417 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006386/1.091, allocations: 304.6 kB / 0.7749 GB, free: 3.73 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/1.091, allocations: 4 kB / 0.7749 GB, free: 3.727 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/1.091, allocations: 6.812 kB / 0.7749 GB, free: 3.723 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/1.091, allocations: 0 / 0.7749 GB, free: 3.723 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002738/1.092, allocations: 77.72 kB / 0.775 GB, free: 3.656 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/1.092, allocations: 4 kB / 0.775 GB, free: 3.652 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001558/1.092, allocations: 29.78 kB / 0.775 GB, free: 3.629 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.999e-05/1.092, allocations: 22.92 kB / 0.775 GB, free: 3.613 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (30): * Single equations (assignments): 30 * 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 0.0001575/1.092, allocations: 140.6 kB / 0.7752 GB, free: 3.48 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001533/1.092, allocations: 13.61 kB / 0.7752 GB, free: 3.469 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002024/1.094, allocations: 2.337 MB / 0.7774 GB, free: 2.074 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-05/1.094, allocations: 15.47 kB / 0.7775 GB, free: 2.062 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/1.094, allocations: 0 / 0.7775 GB, free: 2.062 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/1.094, allocations: 6.938 kB / 0.7775 GB, free: 2.062 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002774/1.097, allocations: 3.432 MB / 0.7808 GB, free: 15.81 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/1.097, allocations: 0 / 0.7808 GB, free: 15.81 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002392/1.097, allocations: 54.98 kB / 0.7809 GB, free: 15.77 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/1.097, allocations: 4 kB / 0.7809 GB, free: 15.76 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.122e-05/1.097, allocations: 11.61 kB / 0.7809 GB, free: 15.75 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/1.097, allocations: 12.05 kB / 0.7809 GB, free: 15.75 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/1.097, allocations: 0 / 0.7809 GB, free: 15.75 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001323/1.099, allocations: 1.369 MB / 0.7822 GB, free: 14.63 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/1.099, allocations: 131.7 kB / 0.7824 GB, free: 14.49 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.292e-05/1.099, allocations: 14.98 kB / 0.7824 GB, free: 14.48 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002162/1.099, allocations: 11.38 kB / 0.7824 GB, free: 14.47 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.021e-05/1.099, allocations: 15.97 kB / 0.7824 GB, free: 14.46 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.657e-05/1.099, allocations: 11.62 kB / 0.7824 GB, free: 14.45 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 6.264e-05/1.099, allocations: 106.2 kB / 0.7825 GB, free: 14.35 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.61e-07/1.099, allocations: 0 / 0.7825 GB, free: 14.35 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.005532/1.105, allocations: 1.664 MB / 0.7841 GB, free: 12.79 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.009581/1.114, allocations: 1.9 MB / 0.786 GB, free: 11.08 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0007362/1.115, allocations: 329.6 kB / 0.7863 GB, free: 10.86 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/1.115, allocations: 0 / 0.7863 GB, free: 10.86 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002964/1.115, allocations: 241.8 kB / 0.7865 GB, free: 10.73 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006262/1.116, allocations: 66.38 kB / 0.7866 GB, free: 10.68 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001705/1.118, allocations: 1.086 MB / 0.7877 GB, free: 9.734 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004146/1.118, allocations: 0.7778 MB / 0.7884 GB, free: 8.93 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0006248/1.119, allocations: 408.9 kB / 0.7888 GB, free: 8.547 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001561/1.119, allocations: 50.41 kB / 0.7889 GB, free: 8.504 MB / 0.5573 GB Notification: Performance of SimCode: time 1.112e-06/1.119, allocations: 0 / 0.7889 GB, free: 8.504 MB / 0.5573 GB Notification: Performance of Templates: time 0.07258/1.192, allocations: 57.22 MB / 0.8447 GB, free: 15.36 MB / 0.6198 GB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.SteamProperties.makefile (rm -f IBPSA_latest_IBPSA.Media.Examples.SteamProperties.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.SteamProperties.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.SteamProperties.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.SteamProperties.sim & ./IBPSA_latest_IBPSA.Media.Examples.SteamProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.SteamProperties.pipe 2>&1)