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: "" <> buildModelFMU(IBPSA.Media.Examples.SteamDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.SteamDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 100.3 kB / 16.27 MB, free: 5.93 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.00112/0.00112, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.276/1.276, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7162/0.7162, allocations: 122.9 MB / 413.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 67.89 kB / 0.4912 GB, free: 7.344 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3116/0.313, allocations: 77.92 MB / 0.5673 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamDerivativeCheck): time 0.002067/0.3151, allocations: 1.257 MB / 0.5685 GB, free: 31.82 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1338/0.4489, allocations: 137.7 MB / 0.7029 GB, free: 15.38 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.339e-05/0.449, allocations: 0 / 0.7029 GB, free: 15.38 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.955e-05/0.449, allocations: 3.938 kB / 0.703 GB, free: 15.38 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.38e-05/0.4491, allocations: 3.938 kB / 0.703 GB, free: 15.38 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001202/0.4503, allocations: 462.4 kB / 0.7034 GB, free: 14.92 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.52e-05/0.4504, allocations: 39.84 kB / 0.7034 GB, free: 14.88 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.819e-05/0.4504, allocations: 11.98 kB / 0.7034 GB, free: 14.87 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.966e-05/0.4505, allocations: 15.94 kB / 0.7035 GB, free: 14.86 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.511e-05/0.4505, allocations: 19.91 kB / 0.7035 GB, free: 14.84 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.323e-05/0.4506, allocations: 4 kB / 0.7035 GB, free: 14.83 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001404/0.452, allocations: 0.8114 MB / 0.7043 GB, free: 14.02 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.593e-05/0.452, allocations: 4 kB / 0.7043 GB, free: 14.02 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.321e-05/0.452, allocations: 23.91 kB / 0.7043 GB, free: 13.99 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005711/0.4526, allocations: 445.4 kB / 0.7047 GB, free: 13.56 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.4526, allocations: 4 kB / 0.7047 GB, free: 13.55 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4527, allocations: 0 / 0.7047 GB, free: 13.55 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.4527, allocations: 0 / 0.7047 GB, free: 13.55 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004718/0.4531, allocations: 371.4 kB / 0.7051 GB, free: 13.14 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.4532, allocations: 12.62 kB / 0.7051 GB, free: 13.13 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.271e-05/0.4532, allocations: 30.75 kB / 0.7051 GB, free: 13.09 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001683/0.4534, allocations: 16.92 kB / 0.7051 GB, free: 13.08 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.485e-05/0.4535, allocations: 164.4 kB / 0.7053 GB, free: 12.88 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.4535, allocations: 4.375 kB / 0.7053 GB, free: 12.88 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/0.4535, allocations: 15.94 kB / 0.7053 GB, free: 12.86 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.4537, allocations: 53.61 kB / 0.7054 GB, free: 12.8 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.162e-06/0.4537, allocations: 0 / 0.7054 GB, free: 12.8 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.4537, allocations: 0 / 0.7054 GB, free: 12.8 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.4537, allocations: 0 / 0.7054 GB, free: 12.8 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.166e-05/0.4538, allocations: 19.98 kB / 0.7054 GB, free: 12.78 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001631/0.454, allocations: 169.6 kB / 0.7055 GB, free: 12.57 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.939e-05/0.4541, allocations: 58.52 kB / 0.7056 GB, free: 12.5 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.955e-05/0.4541, allocations: 17.02 kB / 0.7056 GB, free: 12.48 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01124/0.4653, allocations: 3.17 MB / 0.7087 GB, free: 9.215 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.4654, allocations: 34.5 kB / 0.7088 GB, free: 9.172 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.442e-06/0.4654, allocations: 3.938 kB / 0.7088 GB, free: 9.168 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.04302/0.5084, allocations: 14.85 MB / 0.7233 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.682e-05/0.5085, allocations: 51.41 kB / 0.7233 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.929e-05/0.5086, allocations: 93.84 kB / 0.7234 GB, free: 10 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.5086, allocations: 33.7 kB / 0.7234 GB, free: 9.965 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.347e-05/0.5086, allocations: 84.08 kB / 0.7235 GB, free: 9.879 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.141e-05/0.5087, allocations: 39.39 kB / 0.7235 GB, free: 9.84 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.008e-05/0.5087, allocations: 33.84 kB / 0.7236 GB, free: 9.801 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.5089, allocations: 322.8 kB / 0.7239 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.196e-05/0.509, allocations: 31.92 kB / 0.7239 GB, free: 9.445 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.271e-05/0.509, allocations: 23.94 kB / 0.7239 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001193/0.5091, allocations: 63.97 kB / 0.724 GB, free: 9.359 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.5091, allocations: 0 / 0.724 GB, free: 9.359 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002135/0.5094, allocations: 101.6 kB / 0.7241 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.5094, allocations: 10.03 kB / 0.7241 GB, free: 9.246 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.5094, allocations: 3.984 kB / 0.7241 GB, free: 9.242 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.5094, allocations: 4 kB / 0.7241 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.5095, allocations: 27.94 kB / 0.7241 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.5096, allocations: 0 / 0.7241 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.841e-05/0.5096, allocations: 0 / 0.7241 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.556e-05/0.5096, allocations: 11.98 kB / 0.7242 GB, free: 9.199 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.91e-05/0.5097, allocations: 117.8 kB / 0.7243 GB, free: 9.074 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.133e-05/0.5098, allocations: 4 kB / 0.7243 GB, free: 9.07 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000271/0.51, allocations: 129.4 kB / 0.7244 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.51, allocations: 4 kB / 0.7244 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.5101, allocations: 0 / 0.7244 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.5101, allocations: 0 / 0.7244 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001407/0.5102, allocations: 177.6 kB / 0.7246 GB, free: 8.711 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.5102, allocations: 0 / 0.7246 GB, free: 8.711 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000125/0.5103, allocations: 27.98 kB / 0.7246 GB, free: 8.684 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.5104, allocations: 0 / 0.7246 GB, free: 8.684 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.5104, allocations: 8 kB / 0.7246 GB, free: 8.676 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.5104, allocations: 0 / 0.7246 GB, free: 8.676 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.5104, allocations: 0 / 0.7246 GB, free: 8.676 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002917/0.5107, allocations: 160.9 kB / 0.7248 GB, free: 8.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.908e-05/0.5108, allocations: 93.05 kB / 0.7248 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.5108, allocations: 0 / 0.7248 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001465/0.5109, allocations: 19.92 kB / 0.7249 GB, free: 8.371 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.292e-05/0.511, allocations: 11.98 kB / 0.7249 GB, free: 8.359 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/0.511, allocations: 4 kB / 0.7249 GB, free: 8.355 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.68e-05/0.511, allocations: 75.28 kB / 0.7249 GB, free: 8.281 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.511, allocations: 0 / 0.7249 GB, free: 8.281 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001521/0.5126, allocations: 0.5663 MB / 0.7255 GB, free: 7.715 MB / 0.5606 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 (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.003489/0.5161, allocations: 0.9393 MB / 0.7264 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001677/0.5162, allocations: 67.97 kB / 0.7265 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.5162, allocations: 0 / 0.7265 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.879e-05/0.5163, allocations: 35.92 kB / 0.7265 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001697/0.5165, allocations: 8 kB / 0.7265 GB, free: 6.641 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002297/0.5188, allocations: 1.547 MB / 0.728 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002626/0.5191, allocations: 0.6962 MB / 0.7287 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.861e-05/0.5192, allocations: 20.55 kB / 0.7287 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.675e-05/0.5192, allocations: 27.42 kB / 0.7288 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of SimCode: time 2.5e-07/0.5192, allocations: 4 kB / 0.7288 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2818/0.801, allocations: 25.38 MB / 0.7535 GB, free: 151.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.743/8.544, allocations: 7.656 kB / 0.7536 GB, free: 151.9 MB / 0.5762 GB (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-10 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Media_Examples_SteamDerivativeCheck.fmu > IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.pipe 2>&1)