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.00111/0.00111, allocations: 101.1 kB / 16.4 MB, free: 6.512 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.001105/0.001105, allocations: 192 kB / 17.34 MB, free: 5.738 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.458/1.458, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7633/0.7633, allocations: 122.9 MB / 414 MB, free: 15.78 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 63.23 kB / 0.5679 GB, free: 28.88 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1322, allocations: 77.92 MB / 0.644 GB, free: 9.562 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamDerivativeCheck): time 0.002154/0.1343, allocations: 1.258 MB / 0.6453 GB, free: 8.293 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4645/0.5989, allocations: 137.7 MB / 0.7797 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.214e-05/0.5989, allocations: 0 / 0.7797 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 1.878e-05/0.5989, allocations: 6.375 kB / 0.7797 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 4.661e-05/0.599, allocations: 3.438 kB / 0.7797 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001255/0.6003, allocations: 463.2 kB / 0.7802 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 8.11e-05/0.6004, allocations: 38.44 kB / 0.7802 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.136e-05/0.6004, allocations: 9.688 kB / 0.7802 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.973e-05/0.6005, allocations: 24.62 kB / 0.7802 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 6.978e-05/0.6006, allocations: 22.25 kB / 0.7802 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.275e-05/0.6006, allocations: 2.125 kB / 0.7802 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001349/0.6019, allocations: 0.8229 MB / 0.781 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.574e-05/0.602, allocations: 12.84 kB / 0.7811 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.358e-05/0.602, allocations: 15.94 kB / 0.7811 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0005182/0.6025, allocations: 442.7 kB / 0.7815 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.6025, allocations: 1.344 kB / 0.7815 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.412e-06/0.6025, allocations: 0 / 0.7815 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.449e-06/0.6025, allocations: 0 / 0.7815 GB, free: 13.86 MB / 0.5919 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.0004829/0.603, allocations: 380.9 kB / 0.7819 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.6031, allocations: 12.52 kB / 0.7819 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.35e-05/0.6031, allocations: 31.69 kB / 0.7819 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001773/0.6033, allocations: 17.64 kB / 0.7819 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.63e-05/0.6034, allocations: 161.7 kB / 0.7821 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.6034, allocations: 4.906 kB / 0.7821 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.209e-05/0.6034, allocations: 10.75 kB / 0.7821 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001244/0.6036, allocations: 55.61 kB / 0.7821 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.413e-06/0.6036, allocations: 0 / 0.7821 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.6036, allocations: 1.031 kB / 0.7821 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.6036, allocations: 5.062 kB / 0.7822 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.83e-05/0.6037, allocations: 20.59 kB / 0.7822 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001565/0.6038, allocations: 173.3 kB / 0.7823 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 9.427e-05/0.6039, allocations: 46.52 kB / 0.7824 GB, free: 13 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.155e-05/0.604, allocations: 27.33 kB / 0.7824 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0112/0.6152, allocations: 3.201 MB / 0.7855 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.939e-05/0.6152, allocations: 39.75 kB / 0.7856 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=7): time 1.823e-06/0.6153, allocations: 1.094 kB / 0.7856 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.04006/0.6553, allocations: 15 MB / 0.8002 GB, free: 8.938 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.136e-05/0.6554, allocations: 57.91 kB / 0.8003 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.244e-05/0.6555, allocations: 93.84 kB / 0.8004 GB, free: 8.77 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.6555, allocations: 31.95 kB / 0.8004 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 2.547e-05/0.6555, allocations: 85.28 kB / 0.8005 GB, free: 8.652 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.263e-05/0.6556, allocations: 44.02 kB / 0.8005 GB, free: 8.617 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.373e-05/0.6556, allocations: 30.34 kB / 0.8005 GB, free: 8.602 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.92e-05/0.6557, allocations: 322.2 kB / 0.8009 GB, free: 8.281 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.905e-05/0.6558, allocations: 23.56 kB / 0.8009 GB, free: 8.277 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.043e-05/0.6558, allocations: 32.11 kB / 0.8009 GB, free: 8.27 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001088/0.656, allocations: 63.25 kB / 0.801 GB, free: 8.254 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.656, allocations: 1.203 kB / 0.801 GB, free: 8.254 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001969/0.6562, allocations: 96.69 kB / 0.8011 GB, free: 8.219 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.6562, allocations: 5.281 kB / 0.8011 GB, free: 8.219 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.6562, allocations: 0 / 0.8011 GB, free: 8.219 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.6562, allocations: 2.406 kB / 0.8011 GB, free: 8.219 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.6563, allocations: 25.89 kB / 0.8011 GB, free: 8.215 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.6563, allocations: 2.094 kB / 0.8011 GB, free: 8.215 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.562e-05/0.6564, allocations: 4 kB / 0.8011 GB, free: 8.211 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.6564, allocations: 5.75 kB / 0.8011 GB, free: 8.211 MB / 0.5919 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 8.352e-05/0.6565, allocations: 126.1 kB / 0.8012 GB, free: 8.086 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.373e-05/0.6565, allocations: 6.766 kB / 0.8012 GB, free: 8.082 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000234/0.6568, allocations: 117.8 kB / 0.8013 GB, free: 8.027 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.6568, allocations: 7.984 kB / 0.8013 GB, free: 8.02 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.6568, allocations: 2.688 kB / 0.8014 GB, free: 8.02 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.6568, allocations: 1.094 kB / 0.8014 GB, free: 8.02 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000138/0.657, allocations: 178.4 kB / 0.8015 GB, free: 7.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.657, allocations: 0 / 0.8015 GB, free: 7.82 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001178/0.6571, allocations: 35.23 kB / 0.8016 GB, free: 7.809 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.6571, allocations: 0 / 0.8016 GB, free: 7.809 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.6571, allocations: 2.719 kB / 0.8016 GB, free: 7.809 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.6571, allocations: 0 / 0.8016 GB, free: 7.809 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.6571, allocations: 0 / 0.8016 GB, free: 7.809 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000266/0.6574, allocations: 162.3 kB / 0.8017 GB, free: 7.723 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.987e-05/0.6575, allocations: 87.59 kB / 0.8018 GB, free: 7.625 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.696e-05/0.6575, allocations: 4.75 kB / 0.8018 GB, free: 7.625 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.6576, allocations: 11.67 kB / 0.8018 GB, free: 7.621 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.85e-05/0.6577, allocations: 8.938 kB / 0.8018 GB, free: 7.617 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.295e-05/0.6577, allocations: 12.48 kB / 0.8018 GB, free: 7.613 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 2.674e-05/0.6577, allocations: 79.28 kB / 0.8019 GB, free: 7.535 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.6577, allocations: 0 / 0.8019 GB, free: 7.535 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00161/0.6593, allocations: 0.5656 MB / 0.8025 GB, free: 7.508 MB / 0.5919 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.003323/0.6627, allocations: 0.9286 MB / 0.8034 GB, free: 6.852 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001633/0.6628, allocations: 72.45 kB / 0.8034 GB, free: 6.836 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.6629, allocations: 0 / 0.8034 GB, free: 6.836 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 5.981e-05/0.6629, allocations: 44.83 kB / 0.8035 GB, free: 6.824 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001916/0.6631, allocations: 8.469 kB / 0.8035 GB, free: 6.824 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002061/0.6652, allocations: 1.54 MB / 0.805 GB, free: 5.527 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002279/0.6654, allocations: 0.6866 MB / 0.8057 GB, free: 4.824 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 7.949e-05/0.6655, allocations: 22.64 kB / 0.8057 GB, free: 4.812 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.424e-05/0.6656, allocations: 25.58 kB / 0.8057 GB, free: 4.801 MB / 0.5919 GB Notification: Performance of SimCode: time 3.21e-07/0.6656, allocations: 0 / 0.8057 GB, free: 4.801 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05118/0.7168, allocations: 25.44 MB / 0.8306 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.137/8.854, allocations: 16.5 kB / 0.8306 GB, free: 14.49 MB / 0.6231 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)