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.001618/0.001619, allocations: 107.9 kB / 15.99 MB, free: 6.332 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.001956/0.001956, allocations: 197.2 kB / 16.91 MB, free: 6.18 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.386/1.386, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7672/0.7672, allocations: 122.8 MB / 413.6 MB, free: 40 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 63.91 kB / 0.4906 GB, free: 7.832 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3929/0.3949, allocations: 77.92 MB / 0.5667 GB, free: 32.04 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamProperties): time 0.1478/0.5428, allocations: 134.2 MB / 0.6977 GB, free: 4.434 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.04281/0.5857, allocations: 22.98 MB / 0.7201 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002198/0.5859, allocations: 0 / 0.7201 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003755/0.5863, allocations: 39.8 kB / 0.7202 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0004242/0.5868, allocations: 91.48 kB / 0.7203 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.02946/0.6163, allocations: 6.151 MB / 0.7263 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006539/0.617, allocations: 247.9 kB / 0.7265 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.31e-05/0.617, allocations: 9.547 kB / 0.7265 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005438/0.6176, allocations: 139.5 kB / 0.7266 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002572/0.6179, allocations: 95.66 kB / 0.7267 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.164e-05/0.6179, allocations: 8 kB / 0.7267 GB, free: 6.641 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0349/0.6528, allocations: 11.47 MB / 0.7379 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001474/0.653, allocations: 31.84 kB / 0.738 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002445/0.6533, allocations: 83.64 kB / 0.7381 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02037/0.6737, allocations: 6.519 MB / 0.7444 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.6738, allocations: 0 / 0.7444 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6738, allocations: 4 kB / 0.7444 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.777e-05/0.6738, allocations: 0 / 0.7444 GB, free: 4.508 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.004585/0.6784, allocations: 1.198 MB / 0.7456 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.6785, allocations: 8.625 kB / 0.7456 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001695/0.6802, allocations: 84.66 kB / 0.7457 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000325/0.6805, allocations: 228 kB / 0.7459 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.878e-05/0.6806, allocations: 20.12 kB / 0.7459 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.505e-05/0.6806, allocations: 12 kB / 0.7459 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001669/0.6823, allocations: 464.4 kB / 0.7464 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.6823, allocations: 0 / 0.7464 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.358e-05/0.6824, allocations: 4 kB / 0.7464 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.6824, allocations: 4 kB / 0.7464 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001819/0.6842, allocations: 0.6008 MB / 0.747 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001396/0.6856, allocations: 0.8783 MB / 0.7478 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001251/0.6869, allocations: 252.1 kB / 0.7481 GB, free: 0.5781 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001675/0.6871, allocations: 69.72 kB / 0.7481 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3747/1.062, allocations: 35.05 MB / 0.7824 GB, free: 145.3 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/1.062, allocations: 38.5 kB / 0.7824 GB, free: 145.2 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=25): time 1.894e-06/1.062, allocations: 0 / 0.7824 GB, free: 145.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=25): time 0.001816/1.064, allocations: 421.3 kB / 0.7828 GB, free: 145 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.649e-05/1.064, allocations: 51.41 kB / 0.7829 GB, free: 145 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/1.064, allocations: 149.9 kB / 0.783 GB, free: 144.8 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.858e-05/1.064, allocations: 37.64 kB / 0.783 GB, free: 144.8 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.951e-05/1.064, allocations: 106.5 kB / 0.7831 GB, free: 144.7 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.621e-05/1.064, allocations: 84.52 kB / 0.7832 GB, free: 144.6 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/1.064, allocations: 81 kB / 0.7833 GB, free: 144.6 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.071e-05/1.064, allocations: 322.6 kB / 0.7836 GB, free: 144.3 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001618/1.064, allocations: 78.48 kB / 0.7837 GB, free: 144.2 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002122/1.065, allocations: 131.3 kB / 0.7838 GB, free: 144.1 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003849/1.065, allocations: 220.9 kB / 0.784 GB, free: 144 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/1.065, allocations: 0 / 0.784 GB, free: 144 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007075/1.066, allocations: 305.3 kB / 0.7843 GB, free: 143.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/1.066, allocations: 3.688 kB / 0.7843 GB, free: 143.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/1.066, allocations: 3.969 kB / 0.7843 GB, free: 143.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/1.066, allocations: 0 / 0.7843 GB, free: 143.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002849/1.066, allocations: 81.5 kB / 0.7844 GB, free: 143.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.365e-06/1.066, allocations: 7.875 kB / 0.7844 GB, free: 143.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001636/1.066, allocations: 23.73 kB / 0.7844 GB, free: 143.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.749e-05/1.066, allocations: 23.89 kB / 0.7844 GB, free: 143.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 0.0001236/1.066, allocations: 133.7 kB / 0.7846 GB, free: 143.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000179/1.067, allocations: 15.66 kB / 0.7846 GB, free: 143.6 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001776/1.068, allocations: 2.345 MB / 0.7869 GB, free: 142.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/1.068, allocations: 11.98 kB / 0.7869 GB, free: 142.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/1.068, allocations: 3.938 kB / 0.7869 GB, free: 142 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/1.068, allocations: 7.234 kB / 0.7869 GB, free: 142 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002184/1.071, allocations: 3.424 MB / 0.7902 GB, free: 138.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/1.071, allocations: 4 kB / 0.7902 GB, free: 138.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002552/1.071, allocations: 51.89 kB / 0.7903 GB, free: 138.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.668e-06/1.071, allocations: 7.938 kB / 0.7903 GB, free: 138.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.065e-05/1.071, allocations: 4 kB / 0.7903 GB, free: 138.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/1.071, allocations: 7.984 kB / 0.7903 GB, free: 138.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/1.071, allocations: 0 / 0.7903 GB, free: 138.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006186/1.072, allocations: 0.5448 MB / 0.7908 GB, free: 137.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.477e-05/1.072, allocations: 148.4 kB / 0.791 GB, free: 137.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.357e-05/1.072, allocations: 8 kB / 0.791 GB, free: 137.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002261/1.072, allocations: 15.98 kB / 0.791 GB, free: 137.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.317e-05/1.072, allocations: 17.94 kB / 0.791 GB, free: 137.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.489e-05/1.072, allocations: 15.98 kB / 0.791 GB, free: 137.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.232e-05/1.072, allocations: 105.5 kB / 0.7911 GB, free: 137.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.21e-07/1.072, allocations: 3.938 kB / 0.7911 GB, free: 137.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00401/1.076, allocations: 1.69 MB / 0.7928 GB, free: 136 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.008271/1.084, allocations: 1.939 MB / 0.7947 GB, free: 134.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007573/1.085, allocations: 332.5 kB / 0.795 GB, free: 134 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/1.085, allocations: 7.875 kB / 0.795 GB, free: 134 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002801/1.085, allocations: 236.5 kB / 0.7952 GB, free: 133.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005597/1.086, allocations: 63.97 kB / 0.7953 GB, free: 133.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009508/1.087, allocations: 0.7583 MB / 0.796 GB, free: 132.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000156/1.087, allocations: 0.7661 MB / 0.7968 GB, free: 132.1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004552/1.088, allocations: 412.2 kB / 0.7972 GB, free: 131.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001326/1.088, allocations: 47.41 kB / 0.7972 GB, free: 131.7 MB / 0.5762 GB Notification: Performance of SimCode: time 2.31e-07/1.088, allocations: 0 / 0.7972 GB, free: 131.7 MB / 0.5762 GB Notification: Performance of Templates: time 0.08243/1.17, allocations: 59.66 MB / 0.8555 GB, free: 72.01 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.SteamProperties.pipe 2>&1)