Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Media.Examples.SteamDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_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.007328/0.007328, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001146/0.001146, allocations: 194.4 kB / 16.68 MB, free: 5.969 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.278/1.278, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7849/0.7849, allocations: 132.2 MB / 422.7 MB, free: 6.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 65.23 kB / 0.5808 GB, free: 24.04 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1432, allocations: 80.2 MB / 0.6592 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.002399/0.1457, allocations: 1.266 MB / 0.6604 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4712/0.6169, allocations: 137.7 MB / 0.7949 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.728e-05/0.617, allocations: 1.125 kB / 0.7949 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.322e-05/0.6171, allocations: 5.922 kB / 0.7949 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 4.665e-05/0.6171, allocations: 5.281 kB / 0.7949 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001367/0.6185, allocations: 469.9 kB / 0.7953 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 8.19e-05/0.6186, allocations: 39.33 kB / 0.7954 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.899e-05/0.6187, allocations: 4.75 kB / 0.7954 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.687e-05/0.6187, allocations: 23.97 kB / 0.7954 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 8.091e-05/0.6188, allocations: 24.97 kB / 0.7954 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.184e-05/0.6188, allocations: 2.375 kB / 0.7954 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001396/0.6202, allocations: 0.822 MB / 0.7962 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.937e-05/0.6203, allocations: 14.98 kB / 0.7963 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 4.603e-05/0.6203, allocations: 18.73 kB / 0.7963 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0005635/0.6209, allocations: 445.5 kB / 0.7967 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.6209, allocations: 1.188 kB / 0.7967 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.422e-06/0.6209, allocations: 0 / 0.7967 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.6209, allocations: 0 / 0.7967 GB, free: 12.57 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.0004813/0.6214, allocations: 372 kB / 0.7971 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.6214, allocations: 8.625 kB / 0.7971 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.474e-05/0.6215, allocations: 38.09 kB / 0.7971 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001745/0.6217, allocations: 17.41 kB / 0.7971 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.6218, allocations: 161.7 kB / 0.7973 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.6218, allocations: 8.719 kB / 0.7973 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.576e-05/0.6218, allocations: 7.938 kB / 0.7973 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.622, allocations: 58.19 kB / 0.7973 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.622, allocations: 0 / 0.7973 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.622, allocations: 4.844 kB / 0.7973 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.622, allocations: 1.031 kB / 0.7973 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.434e-05/0.6221, allocations: 18.83 kB / 0.7974 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001704/0.6223, allocations: 176 kB / 0.7975 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001109/0.6224, allocations: 48.41 kB / 0.7976 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.323e-05/0.6224, allocations: 23.61 kB / 0.7976 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01152/0.6339, allocations: 3.203 MB / 0.8007 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.001e-05/0.634, allocations: 37.09 kB / 0.8008 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=7): time 2.113e-06/0.634, allocations: 0 / 0.8008 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.04145/0.6755, allocations: 15.01 MB / 0.8154 GB, free: 6.465 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.411e-05/0.6755, allocations: 53.75 kB / 0.8155 GB, free: 6.402 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.99e-05/0.6756, allocations: 97.3 kB / 0.8156 GB, free: 6.301 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.6756, allocations: 28.27 kB / 0.8156 GB, free: 6.27 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 2.954e-05/0.6757, allocations: 83.58 kB / 0.8157 GB, free: 6.188 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.942e-05/0.6757, allocations: 40.03 kB / 0.8157 GB, free: 6.156 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.57e-05/0.6758, allocations: 30.31 kB / 0.8157 GB, free: 6.141 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.645e-05/0.6759, allocations: 318.8 kB / 0.816 GB, free: 5.82 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.054e-05/0.6759, allocations: 25.77 kB / 0.8161 GB, free: 5.816 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.747e-05/0.676, allocations: 19.59 kB / 0.8161 GB, free: 5.816 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001129/0.6761, allocations: 70.69 kB / 0.8162 GB, free: 5.797 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.6761, allocations: 0 / 0.8162 GB, free: 5.797 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002123/0.6763, allocations: 110.3 kB / 0.8163 GB, free: 5.75 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.6763, allocations: 5.812 kB / 0.8163 GB, free: 5.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.6763, allocations: 0 / 0.8163 GB, free: 5.75 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.6764, allocations: 3.984 kB / 0.8163 GB, free: 5.746 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.6765, allocations: 23.56 kB / 0.8163 GB, free: 5.746 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.6765, allocations: 6.734 kB / 0.8163 GB, free: 5.742 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.583e-05/0.6765, allocations: 0 / 0.8163 GB, free: 5.742 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.304e-05/0.6765, allocations: 5.375 kB / 0.8163 GB, free: 5.742 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 7.585e-05/0.6766, allocations: 125.1 kB / 0.8164 GB, free: 5.617 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.356e-05/0.6767, allocations: 8.609 kB / 0.8164 GB, free: 5.613 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002486/0.6769, allocations: 123.6 kB / 0.8165 GB, free: 5.551 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.6769, allocations: 0 / 0.8165 GB, free: 5.551 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.677, allocations: 2.219 kB / 0.8165 GB, free: 5.551 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.677, allocations: 0 / 0.8165 GB, free: 5.551 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001298/0.6771, allocations: 183.3 kB / 0.8167 GB, free: 5.348 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.6771, allocations: 0 / 0.8167 GB, free: 5.348 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/0.6772, allocations: 25.36 kB / 0.8167 GB, free: 5.34 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.6772, allocations: 2.469 kB / 0.8167 GB, free: 5.34 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.6773, allocations: 3.375 kB / 0.8168 GB, free: 5.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.6773, allocations: 6.156 kB / 0.8168 GB, free: 5.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.6773, allocations: 0 / 0.8168 GB, free: 5.34 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002689/0.6775, allocations: 155.5 kB / 0.8169 GB, free: 5.254 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.965e-05/0.6776, allocations: 93.36 kB / 0.817 GB, free: 5.152 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.6776, allocations: 0 / 0.817 GB, free: 5.152 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.6778, allocations: 14.83 kB / 0.817 GB, free: 5.148 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.418e-05/0.6778, allocations: 13.27 kB / 0.817 GB, free: 5.141 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.6778, allocations: 6.125 kB / 0.817 GB, free: 5.141 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 2.882e-05/0.6779, allocations: 77.78 kB / 0.8171 GB, free: 5.066 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6779, allocations: 0 / 0.8171 GB, free: 5.066 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001731/0.6796, allocations: 0.5729 MB / 0.8177 GB, free: 5.035 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.003394/0.683, allocations: 0.9382 MB / 0.8186 GB, free: 4.367 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001638/0.6832, allocations: 67.42 kB / 0.8186 GB, free: 4.359 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.6832, allocations: 0 / 0.8186 GB, free: 4.359 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 6.381e-05/0.6833, allocations: 41.36 kB / 0.8187 GB, free: 4.348 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001872/0.6835, allocations: 6.125 kB / 0.8187 GB, free: 4.348 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002104/0.6856, allocations: 1.547 MB / 0.8202 GB, free: 3.047 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002548/0.6859, allocations: 0.687 MB / 0.8209 GB, free: 2.344 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 8.552e-05/0.686, allocations: 26.53 kB / 0.8209 GB, free: 2.328 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.443e-05/0.686, allocations: 22.09 kB / 0.8209 GB, free: 2.32 MB / 0.5919 GB Notification: Performance of SimCode: time 3.81e-07/0.686, allocations: 0 / 0.8209 GB, free: 2.32 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05051/0.7365, allocations: 25.43 MB / 0.8458 GB, free: 9.059 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.107/8.843, allocations: 6.688 kB / 0.8458 GB, free: 9.055 MB / 0.6231 GB (rm -f IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Media_Examples_SteamDerivativeCheck.fmu > IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe 2>&1)