Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck") translateModel(IBPSA.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 96.03 kB / 15.68 MB, free: 488 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.001544/0.001544, allocations: 175.9 kB / 16.57 MB, free: 6.391 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.325/1.325, allocations: 223.2 MB / 240.5 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6769/0.6769, allocations: 113.8 MB / 405.4 MB, free: 4.547 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000333/0.000333, allocations: 8 kB / 493 MB, free: 8.562 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1408, allocations: 77.15 MB / 0.5568 GB, free: 11.62 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamDerivativeCheck): time 0.001238/0.142, allocations: 0.9571 MB / 0.5578 GB, free: 10.65 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.3909/0.533, allocations: 116.4 MB / 0.6714 GB, free: 4.16 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.421e-05/0.5331, allocations: 0.9375 kB / 0.6714 GB, free: 4.16 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.518e-05/0.5332, allocations: 0 / 0.6714 GB, free: 4.16 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.485e-05/0.5332, allocations: 0 / 0.6714 GB, free: 4.16 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001238/0.5345, allocations: 362.9 kB / 0.6718 GB, free: 3.805 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.002e-05/0.5346, allocations: 27.95 kB / 0.6718 GB, free: 3.777 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.865e-05/0.5346, allocations: 4 kB / 0.6718 GB, free: 3.773 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.215e-05/0.5347, allocations: 23.91 kB / 0.6718 GB, free: 3.75 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.949e-05/0.5348, allocations: 15.98 kB / 0.6718 GB, free: 3.734 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.401e-05/0.5348, allocations: 4 kB / 0.6718 GB, free: 3.73 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00152/0.5363, allocations: 0.7881 MB / 0.6726 GB, free: 2.941 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.545e-05/0.5363, allocations: 11.88 kB / 0.6726 GB, free: 2.93 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.964e-05/0.5364, allocations: 33.7 kB / 0.6726 GB, free: 2.891 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004641/0.5368, allocations: 291.2 kB / 0.6729 GB, free: 2.613 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.105e-06/0.5369, allocations: 0 / 0.6729 GB, free: 2.613 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.5369, allocations: 0 / 0.6729 GB, free: 2.613 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.5369, allocations: 4 kB / 0.6729 GB, free: 2.609 MB / 494.1 MB 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.0005045/0.5374, allocations: 357.8 kB / 0.6733 GB, free: 2.215 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.5374, allocations: 12.02 kB / 0.6733 GB, free: 2.203 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001904/0.5376, allocations: 16.52 kB / 0.6733 GB, free: 2.188 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/0.5377, allocations: 159.1 kB / 0.6734 GB, free: 1.992 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.5378, allocations: 12 kB / 0.6735 GB, free: 1.98 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.785e-05/0.5378, allocations: 4 kB / 0.6735 GB, free: 1.977 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.5379, allocations: 61.56 kB / 0.6735 GB, free: 1.91 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.538, allocations: 0 / 0.6735 GB, free: 1.91 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.538, allocations: 0 / 0.6735 GB, free: 1.91 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.538, allocations: 0 / 0.6735 GB, free: 1.91 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.374e-05/0.5381, allocations: 23.97 kB / 0.6735 GB, free: 1.887 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001689/0.5382, allocations: 161.7 kB / 0.6737 GB, free: 1.68 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/0.5383, allocations: 50.56 kB / 0.6737 GB, free: 1.621 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01133/0.5497, allocations: 3.206 MB / 0.6769 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/0.5497, allocations: 34.5 kB / 0.6769 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 2.304e-06/0.5498, allocations: 0 / 0.6769 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.03766/0.5874, allocations: 14.25 MB / 0.6908 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.5875, allocations: 51.41 kB / 0.6909 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.687e-05/0.5876, allocations: 89.86 kB / 0.691 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.5876, allocations: 41.77 kB / 0.691 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.412e-05/0.5876, allocations: 80.14 kB / 0.6911 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.703e-05/0.5877, allocations: 35.45 kB / 0.6911 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.073e-06/0.5877, allocations: 4 kB / 0.6911 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.5878, allocations: 318.8 kB / 0.6914 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.283e-05/0.5879, allocations: 23.98 kB / 0.6914 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.02e-05/0.5879, allocations: 20 kB / 0.6915 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.865e-05/0.588, allocations: 21 kB / 0.6915 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.588, allocations: 0 / 0.6915 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002191/0.5882, allocations: 132.8 kB / 0.6916 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.5883, allocations: 6.344 kB / 0.6916 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.5883, allocations: 0 / 0.6916 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.5883, allocations: 0 / 0.6916 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.5884, allocations: 23.98 kB / 0.6916 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.5884, allocations: 0 / 0.6916 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.579e-05/0.5884, allocations: 4 kB / 0.6916 GB, free: 15 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.5885, allocations: 4 kB / 0.6916 GB, free: 15 MB / 0.5137 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.27e-05/0.5885, allocations: 119.5 kB / 0.6918 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.838e-05/0.5886, allocations: 11.95 kB / 0.6918 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002497/0.5888, allocations: 121.5 kB / 0.6919 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.5889, allocations: 7.984 kB / 0.6919 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.5889, allocations: 0 / 0.6919 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.5889, allocations: 0 / 0.6919 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001304/0.589, allocations: 177.6 kB / 0.6921 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.589, allocations: 7.938 kB / 0.6921 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001297/0.5892, allocations: 27.92 kB / 0.6921 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.5892, allocations: 3.938 kB / 0.6921 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.5892, allocations: 11.95 kB / 0.6921 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.5892, allocations: 0 / 0.6921 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.5892, allocations: 0 / 0.6921 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002619/0.5895, allocations: 145 kB / 0.6922 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.91e-05/0.5895, allocations: 85.14 kB / 0.6923 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.973e-05/0.5896, allocations: 8.875 kB / 0.6923 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.5897, allocations: 19.94 kB / 0.6924 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.719e-05/0.5897, allocations: 4 kB / 0.6924 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.5897, allocations: 8 kB / 0.6924 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.302e-05/0.5898, allocations: 79.27 kB / 0.6924 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5898, allocations: 0 / 0.6924 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001684/0.5915, allocations: 0.5703 MB / 0.693 GB, free: 13.51 MB / 0.5137 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002816/0.5943, allocations: 363.5 kB / 0.6933 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001796/0.5945, allocations: 55.98 kB / 0.6934 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.5945, allocations: 0 / 0.6934 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 6.199e-05/0.5946, allocations: 39.53 kB / 0.6934 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001463/0.5947, allocations: 8 kB / 0.6934 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005816/0.5953, allocations: 408 kB / 0.6938 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002877/0.5956, allocations: 0.6926 MB / 0.6945 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 9.131e-05/0.5957, allocations: 20.55 kB / 0.6945 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.821e-05/0.5957, allocations: 19.42 kB / 0.6946 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of SimCode: time 2.71e-07/0.5958, allocations: 0 / 0.6946 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of Templates: time 0.03329/0.6291, allocations: 25.63 MB / 0.7196 GB, free: 2.215 MB / 0.5294 GB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.pipe 2>&1)