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/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007775/0.0007775, allocations: 97.88 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008306/0.0008305, allocations: 178.6 kB / 16.92 MB, free: 6.891 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.36/1.36, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7011/0.7011, allocations: 115.5 MB / 407.6 MB, free: 2.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003622/0.0003624, allocations: 9.531 kB / 495.8 MB, free: 6.375 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1673/0.1677, allocations: 77.54 MB / 0.5599 GB, free: 9.039 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamProperties): time 0.4585/0.6262, allocations: 132.2 MB / 0.6891 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02996/0.6562, allocations: 24.76 MB / 0.7133 GB, free: 9.352 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001796/0.6564, allocations: 3.938 kB / 0.7133 GB, free: 9.348 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002978/0.6568, allocations: 43.8 kB / 0.7133 GB, free: 9.305 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0003443/0.6571, allocations: 83.48 kB / 0.7134 GB, free: 9.223 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.01518/0.6723, allocations: 5.491 MB / 0.7187 GB, free: 3.758 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0004206/0.6727, allocations: 311.8 kB / 0.719 GB, free: 3.453 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.888e-05/0.6728, allocations: 13.55 kB / 0.7191 GB, free: 3.441 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003024/0.6731, allocations: 135.4 kB / 0.7192 GB, free: 3.309 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001743/0.6733, allocations: 91.66 kB / 0.7193 GB, free: 3.219 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.436e-05/0.6733, allocations: 8 kB / 0.7193 GB, free: 3.211 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02059/0.6939, allocations: 11.51 MB / 0.7305 GB, free: 7.68 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.208e-05/0.694, allocations: 35.89 kB / 0.7306 GB, free: 7.645 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001244/0.6942, allocations: 109.3 kB / 0.7307 GB, free: 7.531 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01192/0.7061, allocations: 6.483 MB / 0.737 GB, free: 1.035 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.7061, allocations: 0 / 0.737 GB, free: 1.035 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.553e-06/0.7061, allocations: 0 / 0.737 GB, free: 1.035 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.672e-06/0.7061, allocations: 0 / 0.737 GB, free: 1.035 MB / 0.545 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.003259/0.7094, allocations: 1.163 MB / 0.7381 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.7094, allocations: 12.03 kB / 0.7381 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001106/0.7106, allocations: 76.77 kB / 0.7382 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002428/0.7108, allocations: 234.3 kB / 0.7384 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.7108, allocations: 12.38 kB / 0.7385 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.125e-05/0.7109, allocations: 23.88 kB / 0.7385 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001143/0.712, allocations: 452.5 kB / 0.7389 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.7121, allocations: 8 kB / 0.7389 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.72e-05/0.7121, allocations: 4 kB / 0.7389 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.7121, allocations: 4 kB / 0.7389 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001208/0.7133, allocations: 0.5937 MB / 0.7395 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001126/0.7144, allocations: 0.886 MB / 0.7404 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008025/0.7153, allocations: 248.6 kB / 0.7406 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001213/0.7154, allocations: 76.77 kB / 0.7407 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08956/0.805, allocations: 35.34 MB / 0.7752 GB, free: 6.641 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/0.805, allocations: 34.56 kB / 0.7752 GB, free: 6.598 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=25): time 1.734e-06/0.8051, allocations: 4 kB / 0.7752 GB, free: 6.594 MB / 0.5919 GB Notification: Performance of matching and sorting (n=25): time 0.001809/0.8069, allocations: 413.4 kB / 0.7756 GB, free: 6.184 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.862e-05/0.8069, allocations: 63.33 kB / 0.7757 GB, free: 6.109 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.8071, allocations: 141.7 kB / 0.7758 GB, free: 5.961 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.972e-05/0.8071, allocations: 33.7 kB / 0.7758 GB, free: 5.922 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 6.527e-05/0.8072, allocations: 104.4 kB / 0.7759 GB, free: 5.816 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.135e-05/0.8073, allocations: 82.75 kB / 0.776 GB, free: 5.734 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.383e-05/0.8073, allocations: 29.7 kB / 0.7761 GB, free: 5.699 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.8075, allocations: 334.7 kB / 0.7764 GB, free: 5.363 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001982/0.8077, allocations: 79.94 kB / 0.7764 GB, free: 5.285 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002175/0.8079, allocations: 133.1 kB / 0.7766 GB, free: 5.137 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004115/0.8083, allocations: 211.5 kB / 0.7768 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.8084, allocations: 4 kB / 0.7768 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008267/0.8092, allocations: 300.9 kB / 0.7771 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.8092, allocations: 10.19 kB / 0.7771 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.8092, allocations: 0 / 0.7771 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.8092, allocations: 4 kB / 0.7771 GB, free: 4.602 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003324/0.8096, allocations: 79.88 kB / 0.7772 GB, free: 4.523 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.8096, allocations: 4 kB / 0.7772 GB, free: 4.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001667/0.8098, allocations: 19.75 kB / 0.7772 GB, free: 4.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.778e-05/0.8098, allocations: 36.06 kB / 0.7772 GB, free: 4.465 MB / 0.5919 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.0001395/0.81, allocations: 129.8 kB / 0.7773 GB, free: 4.328 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000162/0.8101, allocations: 11.91 kB / 0.7773 GB, free: 4.316 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003007/0.8132, allocations: 2.357 MB / 0.7796 GB, free: 1.941 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.601e-05/0.8132, allocations: 11.98 kB / 0.7797 GB, free: 1.93 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.8132, allocations: 0 / 0.7797 GB, free: 1.93 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.8132, allocations: 0.5625 kB / 0.7797 GB, free: 1.93 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003769/0.817, allocations: 3.419 MB / 0.783 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.817, allocations: 0 / 0.783 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002609/0.8173, allocations: 59.94 kB / 0.7831 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.426e-06/0.8173, allocations: 7.984 kB / 0.7831 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.221e-05/0.8173, allocations: 7.938 kB / 0.7831 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.431e-06/0.8173, allocations: 4 kB / 0.7831 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.8173, allocations: 0 / 0.7831 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008272/0.8182, allocations: 0.5543 MB / 0.7836 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002592/0.8184, allocations: 136.6 kB / 0.7837 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.446e-05/0.8185, allocations: 15.92 kB / 0.7838 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002351/0.8187, allocations: 15.94 kB / 0.7838 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.573e-05/0.8188, allocations: 23.97 kB / 0.7838 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.642e-05/0.8188, allocations: 8 kB / 0.7838 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001882/0.819, allocations: 111.2 kB / 0.7839 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of sort global known variables: time 4.01e-07/0.819, allocations: 0 / 0.7839 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.005336/0.8244, allocations: 1.683 MB / 0.7856 GB, free: 11.75 MB / 0.6075 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.009344/0.8337, allocations: 1.934 MB / 0.7874 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007408/0.8345, allocations: 332.3 kB / 0.7878 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 7.213e-06/0.8345, allocations: 4 kB / 0.7878 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003375/0.8348, allocations: 241.2 kB / 0.788 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006295/0.8355, allocations: 64.08 kB / 0.7881 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.8367, allocations: 0.7903 MB / 0.7888 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003318/0.8371, allocations: 0.7699 MB / 0.7896 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005814/0.8377, allocations: 401.1 kB / 0.79 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001469/0.8378, allocations: 47.41 kB / 0.79 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of SimCode: time 1.924e-06/0.8378, allocations: 0 / 0.79 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of Templates: time 0.3284/1.166, allocations: 59.35 MB / 0.848 GB, free: 223.5 MB / 0.6387 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)