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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 103 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001929/0.001929, allocations: 208.9 kB / 19.42 MB, free: 3.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.456/1.456, allocations: 230.6 MB / 252.8 MB, free: 8.945 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.887/0.887, allocations: 133.9 MB / 442.8 MB, free: 11.32 MB / 350.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 66.44 kB / 0.6134 GB, free: 8.723 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.1752, allocations: 85.84 MB / 0.6973 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.5299/0.7051, allocations: 139.4 MB / 0.8334 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02945/0.7345, allocations: 22.44 MB / 0.8553 GB, free: 6.496 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001927/0.7347, allocations: 3.938 kB / 0.8553 GB, free: 6.492 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.00033/0.735, allocations: 47.73 kB / 0.8554 GB, free: 6.445 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0003362/0.7354, allocations: 99.36 kB / 0.8555 GB, free: 6.348 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.01821/0.7536, allocations: 6.715 MB / 0.862 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0004672/0.754, allocations: 251.9 kB / 0.8623 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 5.486e-05/0.7541, allocations: 13.5 kB / 0.8623 GB, free: 15.4 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003331/0.7544, allocations: 143.4 kB / 0.8624 GB, free: 15.26 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002203/0.7546, allocations: 95.59 kB / 0.8625 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 2.673e-05/0.7547, allocations: 12 kB / 0.8625 GB, free: 15.15 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02482/0.7795, allocations: 10.99 MB / 0.8732 GB, free: 4.148 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001293/0.7796, allocations: 35.89 kB / 0.8733 GB, free: 4.113 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001717/0.7798, allocations: 91.58 kB / 0.8734 GB, free: 4.023 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01667/0.7965, allocations: 6.178 MB / 0.8794 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.7965, allocations: 0 / 0.8794 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.483e-06/0.7965, allocations: 0 / 0.8794 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.235e-05/0.7965, allocations: 0 / 0.8794 GB, free: 13.83 MB / 0.6544 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.003842/0.8003, allocations: 1.234 MB / 0.8806 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/0.8004, allocations: 13.11 kB / 0.8806 GB, free: 12.53 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.004e-05/0.8004, allocations: 50.67 kB / 0.8807 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001128/0.8016, allocations: 88.75 kB / 0.8808 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003016/0.8019, allocations: 228.3 kB / 0.881 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/0.8019, allocations: 15.94 kB / 0.881 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.97e-05/0.8019, allocations: 12 kB / 0.881 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001173/0.8031, allocations: 457.6 kB / 0.8814 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/0.8031, allocations: 0 / 0.8814 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.776e-05/0.8031, allocations: 8 kB / 0.8814 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.8031, allocations: 4 kB / 0.8814 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001228/0.8044, allocations: 0.597 MB / 0.882 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001155/0.8055, allocations: 0.8823 MB / 0.8829 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008415/0.8064, allocations: 240.8 kB / 0.8831 GB, free: 9.812 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001231/0.8065, allocations: 68.83 kB / 0.8832 GB, free: 9.742 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09566/0.9021, allocations: 36.53 MB / 0.9189 GB, free: 1.898 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.655e-05/0.9022, allocations: 42.56 kB / 0.9189 GB, free: 1.848 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=25): time 1.803e-06/0.9022, allocations: 0 / 0.9189 GB, free: 1.848 MB / 0.6856 GB Notification: Performance of matching and sorting (n=25): time 0.001779/0.904, allocations: 415.6 kB / 0.9193 GB, free: 1.438 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/0.904, allocations: 55.34 kB / 0.9193 GB, free: 1.371 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/0.9041, allocations: 144.6 kB / 0.9195 GB, free: 1.223 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 4.348e-05/0.9042, allocations: 29.69 kB / 0.9195 GB, free: 1.188 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 7.875e-05/0.9043, allocations: 112.5 kB / 0.9196 GB, free: 1.074 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 8.278e-05/0.9043, allocations: 91.22 kB / 0.9197 GB, free: 0.9844 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001438/0.9045, allocations: 81.66 kB / 0.9198 GB, free: 0.8984 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.9046, allocations: 326.8 kB / 0.9201 GB, free: 0.5703 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001834/0.9048, allocations: 79.95 kB / 0.9202 GB, free: 0.4922 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002403/0.9051, allocations: 125.1 kB / 0.9203 GB, free: 360 kB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004448/0.9055, allocations: 221.8 kB / 0.9205 GB, free: 120 kB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.9055, allocations: 0 / 0.9205 GB, free: 120 kB / 0.6856 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007483/0.9063, allocations: 299 kB / 0.9208 GB, free: 15.82 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.9063, allocations: 7.984 kB / 0.9208 GB, free: 15.81 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.9063, allocations: 7.906 kB / 0.9208 GB, free: 15.81 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.9063, allocations: 4 kB / 0.9208 GB, free: 15.8 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003124/0.9066, allocations: 83.88 kB / 0.9209 GB, free: 15.72 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.9066, allocations: 7.938 kB / 0.9209 GB, free: 15.71 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001467/0.9068, allocations: 23.78 kB / 0.9209 GB, free: 15.69 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.606e-05/0.9068, allocations: 23.98 kB / 0.9209 GB, free: 15.67 MB / 0.7012 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.0001432/0.907, allocations: 121.8 kB / 0.9211 GB, free: 15.54 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001777/0.9071, allocations: 23.89 kB / 0.9211 GB, free: 15.52 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002552/0.9097, allocations: 2.342 MB / 0.9234 GB, free: 13.16 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-05/0.9097, allocations: 7.984 kB / 0.9234 GB, free: 13.16 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.311e-06/0.9097, allocations: 7.922 kB / 0.9234 GB, free: 13.15 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.9097, allocations: 3.938 kB / 0.9234 GB, free: 13.14 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003564/0.9133, allocations: 3.431 MB / 0.9267 GB, free: 9.598 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.9133, allocations: 0 / 0.9267 GB, free: 9.598 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002656/0.9136, allocations: 51.95 kB / 0.9268 GB, free: 9.547 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.9136, allocations: 0 / 0.9268 GB, free: 9.547 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.559e-05/0.9136, allocations: 19.86 kB / 0.9268 GB, free: 9.527 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.9136, allocations: 8 kB / 0.9268 GB, free: 9.52 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.9136, allocations: 0 / 0.9268 GB, free: 9.52 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008372/0.9144, allocations: 0.5428 MB / 0.9273 GB, free: 8.961 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001382/0.9146, allocations: 140.7 kB / 0.9275 GB, free: 8.805 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.764e-05/0.9146, allocations: 11.94 kB / 0.9275 GB, free: 8.793 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002145/0.9148, allocations: 11.98 kB / 0.9275 GB, free: 8.781 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.765e-05/0.9149, allocations: 15.98 kB / 0.9275 GB, free: 8.766 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.183e-05/0.9149, allocations: 19.98 kB / 0.9275 GB, free: 8.746 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 8.755e-05/0.915, allocations: 107.2 kB / 0.9276 GB, free: 8.641 MB / 0.7012 GB Notification: Performance of sort global known variables: time 9e-08/0.915, allocations: 0 / 0.9276 GB, free: 8.641 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.004605/0.9196, allocations: 1.645 MB / 0.9292 GB, free: 6.992 MB / 0.7012 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.009217/0.9288, allocations: 2.914 MB / 0.9321 GB, free: 4.055 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.00075/0.9296, allocations: 316.5 kB / 0.9324 GB, free: 3.746 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.9296, allocations: 320 / 0.9324 GB, free: 3.746 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.000301/0.9299, allocations: 192.5 kB / 0.9326 GB, free: 3.559 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005754/0.9304, allocations: 74.23 kB / 0.9326 GB, free: 3.488 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006154/0.9366, allocations: 3.085 MB / 0.9357 GB, free: 288 kB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003968/0.937, allocations: 0.7622 MB / 0.9364 GB, free: 15.49 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0005785/0.9376, allocations: 413.2 kB / 0.9368 GB, free: 15.08 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002186/0.9378, allocations: 95.39 kB / 0.9369 GB, free: 14.99 MB / 0.7169 GB Notification: Performance of SimCode: time 7.52e-07/0.9378, allocations: 4 kB / 0.9369 GB, free: 14.98 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.118/1.056, allocations: 60.9 MB / 0.9964 GB, free: 2.125 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.34/13.4, allocations: 3.844 kB / 0.9964 GB, free: 2.125 MB / 0.7637 GB " [Timeout remaining time 646] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.181369992002146] Failed to read output from testmodel.py, exit status != 0: 13.513835922989529 13.530316477 12.730688285 Calling exit ...