Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/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.SteamProperties,fileNamePrefix="IDEAS_IDEAS_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamProperties,fileNamePrefix="IDEAS_IDEAS_Media_Examples_SteamProperties",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.001165/0.001165, allocations: 108 kB / 15.61 MB, free: 152 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.001237/0.001237, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.336/1.336, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7584/0.7584, allocations: 132.2 MB / 422.6 MB, free: 1.809 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 60 kB / 0.5019 GB, free: 3.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4053/0.4066, allocations: 80.2 MB / 0.5802 GB, free: 4.574 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.1467/0.5533, allocations: 136.1 MB / 0.7131 GB, free: 8.906 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02646/0.5798, allocations: 22.33 MB / 0.7349 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001615/0.58, allocations: 0 / 0.7349 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002891/0.5803, allocations: 47.67 kB / 0.735 GB, free: 2.465 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000316/0.5807, allocations: 99.41 kB / 0.7351 GB, free: 2.367 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.01596/0.5967, allocations: 6.677 MB / 0.7416 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003582/0.597, allocations: 247.9 kB / 0.7418 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.753e-05/0.5971, allocations: 21.53 kB / 0.7419 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003189/0.5974, allocations: 131.5 kB / 0.742 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001588/0.5976, allocations: 95.59 kB / 0.7421 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.823e-05/0.5976, allocations: 11.98 kB / 0.7421 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01837/0.616, allocations: 10.68 MB / 0.7525 GB, free: 0.5195 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.753e-05/0.6161, allocations: 35.89 kB / 0.7525 GB, free: 496 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001292/0.6163, allocations: 79.67 kB / 0.7526 GB, free: 416 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01303/0.6293, allocations: 6.172 MB / 0.7587 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.6293, allocations: 3.984 kB / 0.7587 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.823e-06/0.6293, allocations: 0 / 0.7587 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.735e-06/0.6294, allocations: 0 / 0.7587 GB, free: 10.22 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.002962/0.6323, allocations: 1.181 MB / 0.7598 GB, free: 8.988 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.775e-05/0.6324, allocations: 12.03 kB / 0.7598 GB, free: 8.977 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.496e-05/0.6324, allocations: 46.73 kB / 0.7599 GB, free: 8.922 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001064/0.6335, allocations: 88.7 kB / 0.76 GB, free: 8.836 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002056/0.6337, allocations: 236 kB / 0.7602 GB, free: 8.566 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.6337, allocations: 15.94 kB / 0.7602 GB, free: 8.551 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.046e-05/0.6338, allocations: 12 kB / 0.7602 GB, free: 8.539 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001065/0.6348, allocations: 448.5 kB / 0.7606 GB, free: 8.082 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.6348, allocations: 3.938 kB / 0.7606 GB, free: 8.078 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.347e-05/0.6349, allocations: 8 kB / 0.7606 GB, free: 8.07 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.6349, allocations: 8 kB / 0.7606 GB, free: 8.062 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00116/0.6361, allocations: 0.6047 MB / 0.7612 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009098/0.637, allocations: 0.8706 MB / 0.7621 GB, free: 6.5 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007906/0.6378, allocations: 253.9 kB / 0.7623 GB, free: 6.246 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001101/0.6379, allocations: 76.83 kB / 0.7624 GB, free: 6.168 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1006/0.7385, allocations: 35.05 MB / 0.7966 GB, free: 24 kB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.51e-05/0.7387, allocations: 34.5 kB / 0.7967 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=25): time 2.795e-06/0.7387, allocations: 4 kB / 0.7967 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of matching and sorting (n=25): time 0.001872/0.7406, allocations: 414.9 kB / 0.7971 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.604e-05/0.7406, allocations: 59.41 kB / 0.7971 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001584/0.7408, allocations: 147.7 kB / 0.7973 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.439e-05/0.7408, allocations: 33.7 kB / 0.7973 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 8.68e-05/0.7409, allocations: 104.5 kB / 0.7974 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 8.667e-05/0.741, allocations: 90.73 kB / 0.7975 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/0.7412, allocations: 81.56 kB / 0.7976 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002147/0.7414, allocations: 322.8 kB / 0.7979 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000187/0.7416, allocations: 79.95 kB / 0.7979 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002394/0.7418, allocations: 133.6 kB / 0.7981 GB, free: 14.47 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000448/0.7423, allocations: 228.2 kB / 0.7983 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.7423, allocations: 0 / 0.7983 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007304/0.743, allocations: 289.3 kB / 0.7986 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/0.7431, allocations: 11.98 kB / 0.7986 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.7431, allocations: 0 / 0.7986 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.197e-05/0.7431, allocations: 4 kB / 0.7986 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003017/0.7434, allocations: 83.88 kB / 0.7987 GB, free: 13.85 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.7434, allocations: 4 kB / 0.7987 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001613/0.7436, allocations: 27.84 kB / 0.7987 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.08e-05/0.7437, allocations: 19.98 kB / 0.7987 GB, free: 13.8 MB / 0.6387 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.0001363/0.7438, allocations: 125.8 kB / 0.7988 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001804/0.744, allocations: 23.8 kB / 0.7988 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002407/0.7464, allocations: 2.334 MB / 0.8011 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.791e-05/0.7464, allocations: 23.95 kB / 0.8012 GB, free: 11.28 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.7464, allocations: 0 / 0.8012 GB, free: 11.28 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/0.7465, allocations: 3.938 kB / 0.8012 GB, free: 11.27 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00325/0.7497, allocations: 3.427 MB / 0.8045 GB, free: 7.742 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/0.7497, allocations: 4 kB / 0.8045 GB, free: 7.738 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002655/0.75, allocations: 55.89 kB / 0.8046 GB, free: 7.684 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.75, allocations: 3.938 kB / 0.8046 GB, free: 7.68 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.125e-05/0.7501, allocations: 11.98 kB / 0.8046 GB, free: 7.668 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.7501, allocations: 0 / 0.8046 GB, free: 7.668 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.7501, allocations: 0 / 0.8046 GB, free: 7.668 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007912/0.7509, allocations: 0.5495 MB / 0.8051 GB, free: 7.098 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001331/0.751, allocations: 148.5 kB / 0.8053 GB, free: 6.934 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.557e-05/0.751, allocations: 3.938 kB / 0.8053 GB, free: 6.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002211/0.7513, allocations: 15.98 kB / 0.8053 GB, free: 6.914 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.791e-05/0.7513, allocations: 15.98 kB / 0.8053 GB, free: 6.898 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.824e-05/0.7514, allocations: 15.98 kB / 0.8053 GB, free: 6.883 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 7.749e-05/0.7514, allocations: 107.2 kB / 0.8054 GB, free: 6.777 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7514, allocations: 4 kB / 0.8054 GB, free: 6.773 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0055/0.7569, allocations: 1.62 MB / 0.807 GB, free: 5.152 MB / 0.6387 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.01249/0.7695, allocations: 2.893 MB / 0.8098 GB, free: 2.234 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0008307/0.7703, allocations: 329.4 kB / 0.8101 GB, free: 1.914 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.7704, allocations: 4 kB / 0.8101 GB, free: 1.91 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000345/0.7707, allocations: 236.5 kB / 0.8104 GB, free: 1.68 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006223/0.7713, allocations: 72.17 kB / 0.8104 GB, free: 1.609 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2548/1.026, allocations: 3.036 MB / 0.8134 GB, free: 215 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001756/1.026, allocations: 0.7659 MB / 0.8141 GB, free: 214.3 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005881/1.027, allocations: 399.7 kB / 0.8145 GB, free: 214.3 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001796/1.027, allocations: 97.61 kB / 0.8146 GB, free: 214.3 MB / 0.6387 GB Notification: Performance of SimCode: time 7.52e-07/1.027, allocations: 3.938 kB / 0.8146 GB, free: 214.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08916/1.116, allocations: 60.91 MB / 0.8741 GB, free: 171.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/12.37, allocations: 9.844 kB / 0.8741 GB, free: 171.3 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Media.Examples.SteamProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.SteamProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.SteamProperties.pipe >> ../files/IDEAS_IDEAS.Media.Examples.SteamProperties.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Media.Examples.SteamProperties_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Media_Examples_SteamProperties.fmu > IDEAS_IDEAS.Media.Examples.SteamProperties.pipe 2>&1)