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.001903/0.001903, allocations: 99.64 kB / 18.95 MB, free: 2.836 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.002378/0.002378, allocations: 214.4 kB / 22.24 MB, free: 5.102 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.56/1.56, allocations: 230.6 MB / 256 MB, free: 7.805 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.9288/0.9288, allocations: 134 MB / 446.4 MB, free: 9.945 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.002009/0.002009, allocations: 62.69 kB / 0.6185 GB, free: 6.879 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1888/0.1909, allocations: 85.92 MB / 0.7024 GB, free: 1.051 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.5826/0.7734, allocations: 119.6 MB / 0.8192 GB, free: 5.891 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02968/0.8031, allocations: 19.9 MB / 0.8387 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002418/0.8033, allocations: 2.625 kB / 0.8387 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003478/0.8037, allocations: 43.69 kB / 0.8387 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003926/0.8041, allocations: 96.84 kB / 0.8388 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.02048/0.8246, allocations: 6.68 MB / 0.8453 GB, free: 0.5859 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004794/0.825, allocations: 251.9 kB / 0.8456 GB, free: 348 kB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.563e-05/0.8251, allocations: 9.734 kB / 0.8456 GB, free: 340 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004259/0.8255, allocations: 143.5 kB / 0.8457 GB, free: 196 kB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002089/0.8257, allocations: 87.59 kB / 0.8458 GB, free: 108 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.268e-05/0.8258, allocations: 8 kB / 0.8458 GB, free: 100 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0245/0.8503, allocations: 10.45 MB / 0.856 GB, free: 5.637 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001361/0.8504, allocations: 39.89 kB / 0.856 GB, free: 5.598 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001529/0.8506, allocations: 71.72 kB / 0.8561 GB, free: 5.527 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01559/0.8662, allocations: 6.166 MB / 0.8621 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.8662, allocations: 0 / 0.8621 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.675e-06/0.8662, allocations: 0 / 0.8621 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.216e-05/0.8662, allocations: 0 / 0.8621 GB, free: 15.34 MB / 0.6387 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.003526/0.8697, allocations: 1.155 MB / 0.8633 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.8697, allocations: 8.031 kB / 0.8633 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.244e-05/0.8698, allocations: 58.67 kB / 0.8633 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001096/0.8709, allocations: 84.77 kB / 0.8634 GB, free: 13.99 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003901/0.8713, allocations: 166.4 kB / 0.8636 GB, free: 13.81 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.179e-05/0.8713, allocations: 15.94 kB / 0.8636 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.759e-05/0.8714, allocations: 23.94 kB / 0.8636 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00134/0.8727, allocations: 0.6624 MB / 0.8642 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.8727, allocations: 0 / 0.8642 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.578e-05/0.8727, allocations: 8 kB / 0.8643 GB, free: 13.03 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.8727, allocations: 4 kB / 0.8643 GB, free: 13.03 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001332/0.8741, allocations: 0.6054 MB / 0.8649 GB, free: 12.42 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001219/0.8753, allocations: 0.7378 MB / 0.8656 GB, free: 11.63 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008109/0.8761, allocations: 240.4 kB / 0.8658 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001245/0.8762, allocations: 65.2 kB / 0.8659 GB, free: 11.32 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08794/0.9642, allocations: 23.37 MB / 0.8887 GB, free: 3.91 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.189e-05/0.9642, allocations: 42.55 kB / 0.8887 GB, free: 3.859 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=25): time 1.893e-06/0.9642, allocations: 0 / 0.8887 GB, free: 3.859 MB / 0.6544 GB Notification: Performance of matching and sorting (n=25): time 0.001736/0.966, allocations: 419 kB / 0.8891 GB, free: 3.445 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.966, allocations: 55.41 kB / 0.8892 GB, free: 3.379 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.9661, allocations: 140 kB / 0.8893 GB, free: 3.234 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.307e-05/0.9662, allocations: 33.7 kB / 0.8893 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.809e-05/0.9663, allocations: 112.4 kB / 0.8895 GB, free: 3.082 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 8.135e-05/0.9663, allocations: 91.2 kB / 0.8895 GB, free: 2.992 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001198/0.9665, allocations: 77.67 kB / 0.8896 GB, free: 2.91 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.9666, allocations: 330.8 kB / 0.8899 GB, free: 2.578 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001902/0.9668, allocations: 83.94 kB / 0.89 GB, free: 2.496 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002576/0.9671, allocations: 125.1 kB / 0.8901 GB, free: 2.355 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004803/0.9675, allocations: 217.8 kB / 0.8903 GB, free: 2.125 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.9675, allocations: 0 / 0.8903 GB, free: 2.125 MB / 0.6544 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007503/0.9683, allocations: 305.3 kB / 0.8906 GB, free: 1.82 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.9683, allocations: 7.938 kB / 0.8906 GB, free: 1.812 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.9683, allocations: 0 / 0.8906 GB, free: 1.812 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.9683, allocations: 4 kB / 0.8906 GB, free: 1.809 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003104/0.9686, allocations: 79.88 kB / 0.8907 GB, free: 1.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/0.9687, allocations: 4 kB / 0.8907 GB, free: 1.727 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001603/0.9688, allocations: 27.72 kB / 0.8907 GB, free: 1.699 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.135e-05/0.9689, allocations: 31.97 kB / 0.8908 GB, free: 1.668 MB / 0.6544 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.0001503/0.969, allocations: 125.9 kB / 0.8909 GB, free: 1.535 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001731/0.9692, allocations: 19.91 kB / 0.8909 GB, free: 1.516 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002968/0.9722, allocations: 2.479 MB / 0.8933 GB, free: 15.02 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.271e-05/0.9722, allocations: 11.98 kB / 0.8933 GB, free: 15.01 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.9722, allocations: 0 / 0.8933 GB, free: 15.01 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.9722, allocations: 3.938 kB / 0.8933 GB, free: 15 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004039/0.9762, allocations: 3.582 MB / 0.8968 GB, free: 11.32 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.9762, allocations: 0 / 0.8968 GB, free: 11.32 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002689/0.9765, allocations: 55.94 kB / 0.8969 GB, free: 11.27 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.9765, allocations: 0 / 0.8969 GB, free: 11.27 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.402e-05/0.9765, allocations: 15.94 kB / 0.8969 GB, free: 11.25 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.865e-06/0.9765, allocations: 7.984 kB / 0.8969 GB, free: 11.24 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.9766, allocations: 3.938 kB / 0.8969 GB, free: 11.24 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000891/0.9774, allocations: 0.5584 MB / 0.8975 GB, free: 10.66 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001326/0.9776, allocations: 59.64 kB / 0.8975 GB, free: 10.61 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.19e-05/0.9776, allocations: 15.06 kB / 0.8975 GB, free: 10.59 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002172/0.9778, allocations: 11.98 kB / 0.8976 GB, free: 10.58 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.414e-05/0.9779, allocations: 19.97 kB / 0.8976 GB, free: 10.56 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.932e-05/0.9779, allocations: 11.98 kB / 0.8976 GB, free: 10.55 MB / 0.67 GB Notification: Performance of sorting global known variables: time 9.23e-05/0.978, allocations: 109.7 kB / 0.8977 GB, free: 10.45 MB / 0.67 GB Notification: Performance of sort global known variables: time 8e-08/0.978, allocations: 7.938 kB / 0.8977 GB, free: 10.44 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.004354/0.9824, allocations: 1.656 MB / 0.8993 GB, free: 8.777 MB / 0.67 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.01009/0.9924, allocations: 2.916 MB / 0.9022 GB, free: 5.836 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0007977/0.9932, allocations: 316.3 kB / 0.9025 GB, free: 5.527 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.698e-06/0.9932, allocations: 0 / 0.9025 GB, free: 5.527 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0003413/0.9936, allocations: 196.5 kB / 0.9027 GB, free: 5.332 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006276/0.9942, allocations: 64.88 kB / 0.9027 GB, free: 5.27 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006747/1.001, allocations: 3.1 MB / 0.9057 GB, free: 2.051 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001617/1.001, allocations: 156.6 kB / 0.9059 GB, free: 1.879 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0006083/1.002, allocations: 409.2 kB / 0.9063 GB, free: 1.48 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002158/1.002, allocations: 95.38 kB / 0.9064 GB, free: 1.391 MB / 0.67 GB Notification: Performance of SimCode: time 8.91e-07/1.002, allocations: 0 / 0.9064 GB, free: 1.391 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1207/1.123, allocations: 61.86 MB / 0.9668 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.03/16.16, allocations: 6.188 kB / 0.9668 GB, free: 3.648 MB / 0.7325 GB " [Timeout remaining time 644] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_SteamProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_SteamProperties.fmu > IDEAS_IDEAS.Media.Examples.SteamProperties.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.21539685688913] Failed to read output from testmodel.py, exit status != 0: 16.317366551142186 16.333637846 15.464210202 Calling exit ...