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.001086/0.001086, allocations: 110.7 kB / 17.04 MB, free: 5.809 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.001052/0.001052, allocations: 196 kB / 17.98 MB, free: 5.031 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.258/1.258, allocations: 222.9 MB / 241.7 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6723/0.6723, allocations: 115.1 MB / 406.9 MB, free: 6.348 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 56.09 kB / 494.8 MB, free: 15.87 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3321/0.3334, allocations: 76.15 MB / 0.5576 GB, free: 36.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamProperties): time 0.1446/0.478, allocations: 136.1 MB / 0.6905 GB, free: 12 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02478/0.5028, allocations: 22.69 MB / 0.7126 GB, free: 5.242 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000181/0.5031, allocations: 4 kB / 0.7126 GB, free: 5.238 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003041/0.5034, allocations: 43.69 kB / 0.7127 GB, free: 5.195 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000333/0.5038, allocations: 95.34 kB / 0.7127 GB, free: 5.102 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.01689/0.5207, allocations: 6.947 MB / 0.7195 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004089/0.5211, allocations: 251.9 kB / 0.7198 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.358e-05/0.5211, allocations: 17.48 kB / 0.7198 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003119/0.5215, allocations: 135.4 kB / 0.7199 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001393/0.5216, allocations: 95.66 kB / 0.72 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.656e-05/0.5216, allocations: 8 kB / 0.72 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01935/0.541, allocations: 11.63 MB / 0.7314 GB, free: 2.039 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001231/0.5412, allocations: 39.83 kB / 0.7314 GB, free: 2 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001595/0.5413, allocations: 83.64 kB / 0.7315 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0146/0.5559, allocations: 6.468 MB / 0.7378 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.556, allocations: 0 / 0.7378 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.883e-06/0.556, allocations: 0 / 0.7378 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.917e-06/0.556, allocations: 0 / 0.7378 GB, free: 11.44 MB / 0.5762 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.003206/0.5592, allocations: 1.205 MB / 0.739 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.5593, allocations: 12.03 kB / 0.739 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001112/0.5604, allocations: 84.67 kB / 0.7391 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000315/0.5607, allocations: 236 kB / 0.7393 GB, free: 9.82 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.5607, allocations: 16.12 kB / 0.7393 GB, free: 9.805 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.8e-05/0.5608, allocations: 12 kB / 0.7393 GB, free: 9.793 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001113/0.5619, allocations: 456.9 kB / 0.7398 GB, free: 9.328 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.5619, allocations: 0 / 0.7398 GB, free: 9.328 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.503e-05/0.5619, allocations: 8 kB / 0.7398 GB, free: 9.32 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.562, allocations: 7.938 kB / 0.7398 GB, free: 9.312 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001178/0.5631, allocations: 0.6009 MB / 0.7404 GB, free: 8.711 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009628/0.5641, allocations: 0.8822 MB / 0.7412 GB, free: 7.742 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007829/0.5649, allocations: 254.9 kB / 0.7415 GB, free: 7.484 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.565, allocations: 80.81 kB / 0.7415 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3287/0.8937, allocations: 35.4 MB / 0.7761 GB, free: 154.3 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.8938, allocations: 37.34 kB / 0.7762 GB, free: 154.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=25): time 1.874e-06/0.8938, allocations: 0 / 0.7762 GB, free: 154.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=25): time 0.001608/0.8954, allocations: 425.7 kB / 0.7766 GB, free: 154.1 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.506e-05/0.8955, allocations: 57.94 kB / 0.7766 GB, free: 154 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.812e-05/0.8956, allocations: 143.3 kB / 0.7768 GB, free: 153.9 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.916e-05/0.8956, allocations: 31.61 kB / 0.7768 GB, free: 153.9 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.296e-05/0.8957, allocations: 109.1 kB / 0.7769 GB, free: 153.8 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.872e-05/0.8957, allocations: 82.55 kB / 0.777 GB, free: 153.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/0.8958, allocations: 84 kB / 0.777 GB, free: 153.6 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.502e-05/0.8959, allocations: 327.3 kB / 0.7774 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001563/0.8961, allocations: 82.84 kB / 0.7774 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002034/0.8963, allocations: 130.8 kB / 0.7776 GB, free: 153.2 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000384/0.8967, allocations: 213.6 kB / 0.7778 GB, free: 153.1 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.8967, allocations: 1.094 kB / 0.7778 GB, free: 153.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006916/0.8974, allocations: 293.8 kB / 0.778 GB, free: 152.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.8974, allocations: 7.344 kB / 0.7781 GB, free: 152.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.8974, allocations: 1.438 kB / 0.7781 GB, free: 152.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.8974, allocations: 2.594 kB / 0.7781 GB, free: 152.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002898/0.8977, allocations: 85.75 kB / 0.7781 GB, free: 152.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.956e-06/0.8977, allocations: 10.58 kB / 0.7782 GB, free: 152.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001341/0.8979, allocations: 28.97 kB / 0.7782 GB, free: 152.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-05/0.8979, allocations: 21.14 kB / 0.7782 GB, free: 152.8 MB / 0.5762 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 9.418e-05/0.898, allocations: 129.3 kB / 0.7783 GB, free: 152.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000176/0.8982, allocations: 17.75 kB / 0.7783 GB, free: 152.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001998/0.9002, allocations: 2.342 MB / 0.7806 GB, free: 151.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.23e-05/0.9002, allocations: 10.33 kB / 0.7806 GB, free: 151.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.9002, allocations: 5.406 kB / 0.7806 GB, free: 151.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.9002, allocations: 3.984 kB / 0.7806 GB, free: 151.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002565/0.9028, allocations: 3.43 MB / 0.784 GB, free: 149.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.9028, allocations: 0 / 0.784 GB, free: 149.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002525/0.9031, allocations: 51.17 kB / 0.784 GB, free: 149.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.9031, allocations: 5.094 kB / 0.784 GB, free: 149.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.959e-05/0.9031, allocations: 7.5 kB / 0.7841 GB, free: 149.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.9031, allocations: 1.031 kB / 0.7841 GB, free: 149.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.9031, allocations: 3.984 kB / 0.7841 GB, free: 149.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006886/0.9038, allocations: 0.551 MB / 0.7846 GB, free: 148.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.637e-05/0.9039, allocations: 146.2 kB / 0.7847 GB, free: 148.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.303e-05/0.904, allocations: 6.5 kB / 0.7847 GB, free: 148.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002045/0.9042, allocations: 15.64 kB / 0.7848 GB, free: 148.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.756e-05/0.9042, allocations: 13.23 kB / 0.7848 GB, free: 148.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.74e-05/0.9043, allocations: 15.92 kB / 0.7848 GB, free: 148.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.423e-05/0.9043, allocations: 103.1 kB / 0.7849 GB, free: 148.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9043, allocations: 3.938 kB / 0.7849 GB, free: 148.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003679/0.908, allocations: 1.689 MB / 0.7865 GB, free: 148.4 MB / 0.5762 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.005695/0.9137, allocations: 1.929 MB / 0.7884 GB, free: 147.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005589/0.9143, allocations: 331 kB / 0.7887 GB, free: 147.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.9143, allocations: 0 / 0.7887 GB, free: 147.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002388/0.9146, allocations: 245.5 kB / 0.789 GB, free: 147.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004998/0.9151, allocations: 73.91 kB / 0.789 GB, free: 147.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008064/0.9159, allocations: 0.624 MB / 0.7897 GB, free: 147.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001346/0.916, allocations: 0.7639 MB / 0.7904 GB, free: 146.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003731/0.9164, allocations: 407.2 kB / 0.7908 GB, free: 146.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001133/0.9165, allocations: 49.25 kB / 0.7908 GB, free: 146.2 MB / 0.5762 GB Notification: Performance of SimCode: time 3.2e-07/0.9165, allocations: 0 / 0.7908 GB, free: 146.2 MB / 0.5762 GB Notification: Performance of Templates: time 0.05159/0.9681, allocations: 59.36 MB / 0.8488 GB, free: 87.89 MB / 0.5762 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.SteamProperties.pipe 2>&1)