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.007932/0.007932, allocations: 100.6 kB / 15.73 MB, free: 6.012 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.001856/0.001856, allocations: 190 kB / 16.67 MB, free: 5.934 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.318/1.318, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7637/0.7637, allocations: 132.2 MB / 422.7 MB, free: 6.512 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 61.44 kB / 0.5809 GB, free: 23.96 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1485, allocations: 80.2 MB / 0.6592 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.4683/0.6169, allocations: 136.2 MB / 0.7922 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02493/0.6419, allocations: 22.32 MB / 0.814 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001728/0.6421, allocations: 3.938 kB / 0.814 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0002883/0.6424, allocations: 41.39 kB / 0.814 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0003427/0.6428, allocations: 102.7 kB / 0.8141 GB, free: 9.984 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01763/0.6604, allocations: 6.694 MB / 0.8206 GB, free: 6.32 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0004372/0.6608, allocations: 251.8 kB / 0.8209 GB, free: 6.191 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 5.157e-05/0.6609, allocations: 17.23 kB / 0.8209 GB, free: 6.184 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003115/0.6612, allocations: 138.5 kB / 0.821 GB, free: 6.121 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000142/0.6614, allocations: 95.81 kB / 0.8211 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.063e-05/0.6614, allocations: 7.125 kB / 0.8211 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02087/0.6823, allocations: 10.96 MB / 0.8318 GB, free: 416 kB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001492/0.6825, allocations: 47.48 kB / 0.8319 GB, free: 380 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002174/0.6827, allocations: 84.19 kB / 0.8319 GB, free: 336 kB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01588/0.6986, allocations: 6.161 MB / 0.838 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.6986, allocations: 0 / 0.838 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.383e-06/0.6986, allocations: 0 / 0.838 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.6986, allocations: 0 / 0.838 GB, free: 12.68 MB / 0.6075 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.003094/0.7017, allocations: 1.23 MB / 0.8392 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.7018, allocations: 15.97 kB / 0.8392 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.469e-05/0.7019, allocations: 50.73 kB / 0.8392 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001097/0.703, allocations: 88.75 kB / 0.8393 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003067/0.7033, allocations: 220.4 kB / 0.8395 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.7033, allocations: 15.94 kB / 0.8395 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.817e-05/0.7033, allocations: 16 kB / 0.8396 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001101/0.7044, allocations: 448.5 kB / 0.84 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.7045, allocations: 4.5 kB / 0.84 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.465e-05/0.7045, allocations: 8 kB / 0.84 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.637e-05/0.7045, allocations: 4 kB / 0.84 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001178/0.7057, allocations: 0.597 MB / 0.8406 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001023/0.7067, allocations: 0.8854 MB / 0.8414 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008191/0.7076, allocations: 257.6 kB / 0.8417 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001222/0.7077, allocations: 72.83 kB / 0.8418 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09038/0.7981, allocations: 35.42 MB / 0.8763 GB, free: 2.418 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.755e-05/0.7982, allocations: 39.69 kB / 0.8764 GB, free: 2.371 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=25): time 1.754e-06/0.7982, allocations: 4 kB / 0.8764 GB, free: 2.367 MB / 0.6387 GB Notification: Performance of matching and sorting (n=25): time 0.001691/0.7999, allocations: 425.3 kB / 0.8768 GB, free: 1.945 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.474e-05/0.7999, allocations: 55.41 kB / 0.8768 GB, free: 1.879 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.8001, allocations: 141.7 kB / 0.877 GB, free: 1.73 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.588e-05/0.8001, allocations: 29.7 kB / 0.877 GB, free: 1.695 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 5.774e-05/0.8002, allocations: 104.5 kB / 0.8771 GB, free: 1.59 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 6.673e-05/0.8002, allocations: 94.34 kB / 0.8772 GB, free: 1.5 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/0.8004, allocations: 81.66 kB / 0.8773 GB, free: 1.414 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.802e-05/0.8005, allocations: 326.8 kB / 0.8776 GB, free: 1.086 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001776/0.8006, allocations: 79.95 kB / 0.8777 GB, free: 1.008 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002179/0.8009, allocations: 129.6 kB / 0.8778 GB, free: 0.8633 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004958/0.8014, allocations: 221 kB / 0.878 GB, free: 0.6289 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.8014, allocations: 4 kB / 0.878 GB, free: 0.625 MB / 0.6387 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009121/0.8023, allocations: 302.1 kB / 0.8783 GB, free: 332 kB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.8023, allocations: 13.33 kB / 0.8783 GB, free: 320 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.8024, allocations: 4 kB / 0.8783 GB, free: 316 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.8024, allocations: 4.156 kB / 0.8783 GB, free: 312 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002896/0.8027, allocations: 79.75 kB / 0.8784 GB, free: 236 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.8027, allocations: 7.938 kB / 0.8784 GB, free: 228 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001463/0.8028, allocations: 23.77 kB / 0.8784 GB, free: 204 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.156e-05/0.8029, allocations: 23.98 kB / 0.8784 GB, free: 180 kB / 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.000126/0.803, allocations: 133.7 kB / 0.8786 GB, free: 36 kB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001781/0.8032, allocations: 19.89 kB / 0.8786 GB, free: 16 kB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002257/0.8055, allocations: 2.334 MB / 0.8809 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.406e-05/0.8055, allocations: 15.98 kB / 0.8809 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.8055, allocations: 3.984 kB / 0.8809 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.8055, allocations: 3.938 kB / 0.8809 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003258/0.8088, allocations: 3.421 MB / 0.8842 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.664e-06/0.8088, allocations: 4 kB / 0.8842 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002736/0.8091, allocations: 51.89 kB / 0.8843 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.845e-06/0.8091, allocations: 7.984 kB / 0.8843 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.432e-05/0.8091, allocations: 11.92 kB / 0.8843 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.8091, allocations: 4 kB / 0.8843 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.8092, allocations: 4 kB / 0.8843 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008108/0.81, allocations: 0.5433 MB / 0.8848 GB, free: 9.473 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001471/0.8101, allocations: 140.7 kB / 0.885 GB, free: 9.316 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.742e-05/0.8102, allocations: 11.94 kB / 0.885 GB, free: 9.305 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002203/0.8104, allocations: 11.98 kB / 0.885 GB, free: 9.293 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.807e-05/0.8104, allocations: 15.98 kB / 0.885 GB, free: 9.277 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.117e-05/0.8105, allocations: 15.98 kB / 0.885 GB, free: 9.262 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 9.114e-05/0.8106, allocations: 109.5 kB / 0.8851 GB, free: 9.156 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8106, allocations: 0 / 0.8851 GB, free: 9.156 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.004329/0.8149, allocations: 1.649 MB / 0.8867 GB, free: 7.504 MB / 0.6544 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.008862/0.8238, allocations: 2.901 MB / 0.8896 GB, free: 4.723 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000642/0.8245, allocations: 316.9 kB / 0.8899 GB, free: 4.414 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.8245, allocations: 4 kB / 0.8899 GB, free: 4.41 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003084/0.8248, allocations: 244.8 kB / 0.8901 GB, free: 4.172 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005847/0.8254, allocations: 75.3 kB / 0.8902 GB, free: 4.102 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00578/0.8312, allocations: 3.07 MB / 0.8932 GB, free: 0.9219 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002861/0.8315, allocations: 0.7661 MB / 0.8939 GB, free: 128 kB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0005325/0.832, allocations: 409.3 kB / 0.8943 GB, free: 15.72 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001856/0.8322, allocations: 95.33 kB / 0.8944 GB, free: 15.63 MB / 0.67 GB Notification: Performance of SimCode: time 5.31e-07/0.8322, allocations: 0 / 0.8944 GB, free: 15.63 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09172/0.924, allocations: 60.76 MB / 0.9538 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/12.21, allocations: 8.281 kB / 0.9538 GB, free: 2.898 MB / 0.7169 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)