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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 110.6 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 225.6 MB / 247.8 MB, free: 13.93 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.82/0.82, allocations: 134 MB / 436.7 MB, free: 1.312 MB / 334.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.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 64.3 kB / 0.6051 GB, free: 15.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1869/0.1888, allocations: 84.68 MB / 0.6878 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.5695/0.7584, allocations: 136.5 MB / 0.8212 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02853/0.7869, allocations: 22.41 MB / 0.843 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001924/0.7871, allocations: 6.062 kB / 0.843 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002853/0.7874, allocations: 42.98 kB / 0.8431 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003229/0.7877, allocations: 95.22 kB / 0.8432 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0179/0.8056, allocations: 6.693 MB / 0.8497 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004244/0.806, allocations: 250.4 kB / 0.8499 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.41e-05/0.8061, allocations: 10.36 kB / 0.85 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000329/0.8064, allocations: 142.9 kB / 0.8501 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001564/0.8066, allocations: 97.98 kB / 0.8502 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.349e-05/0.8066, allocations: 7.688 kB / 0.8502 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02269/0.8293, allocations: 10.98 MB / 0.8609 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001409/0.8294, allocations: 43.83 kB / 0.861 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001694/0.8296, allocations: 83.64 kB / 0.861 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01693/0.8465, allocations: 6.162 MB / 0.8671 GB, free: 7.223 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.8465, allocations: 0 / 0.8671 GB, free: 7.223 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.833e-06/0.8465, allocations: 0 / 0.8671 GB, free: 7.223 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.965e-06/0.8465, allocations: 0 / 0.8671 GB, free: 7.223 MB / 0.6231 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.003442/0.85, allocations: 1.23 MB / 0.8683 GB, free: 5.938 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.85, allocations: 12.03 kB / 0.8683 GB, free: 5.926 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.699e-05/0.8501, allocations: 54.67 kB / 0.8683 GB, free: 5.863 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00117/0.8513, allocations: 80.77 kB / 0.8684 GB, free: 5.785 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003034/0.8516, allocations: 232.3 kB / 0.8686 GB, free: 5.52 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.8516, allocations: 11.94 kB / 0.8686 GB, free: 5.508 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.537e-05/0.8516, allocations: 16 kB / 0.8687 GB, free: 5.492 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001226/0.8528, allocations: 452.5 kB / 0.8691 GB, free: 5.031 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.8529, allocations: 0 / 0.8691 GB, free: 5.031 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.438e-05/0.8529, allocations: 11.94 kB / 0.8691 GB, free: 5.02 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.8529, allocations: 4 kB / 0.8691 GB, free: 5.016 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001267/0.8542, allocations: 0.5932 MB / 0.8697 GB, free: 4.422 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001158/0.8553, allocations: 0.8887 MB / 0.8705 GB, free: 3.449 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008266/0.8561, allocations: 238.3 kB / 0.8708 GB, free: 3.207 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000132/0.8563, allocations: 64.83 kB / 0.8708 GB, free: 3.141 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08837/0.9446, allocations: 35.41 MB / 0.9054 GB, free: 12.64 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.203e-05/0.9447, allocations: 50.53 kB / 0.9055 GB, free: 12.58 MB / 0.67 GB Notification: Performance of pre-optimization done (n=25): time 3.647e-06/0.9447, allocations: 3.984 kB / 0.9055 GB, free: 12.57 MB / 0.67 GB Notification: Performance of matching and sorting (n=25): time 0.001762/0.9464, allocations: 423.5 kB / 0.9059 GB, free: 12.16 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/0.9465, allocations: 55.34 kB / 0.9059 GB, free: 12.09 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/0.9466, allocations: 138.8 kB / 0.9061 GB, free: 11.95 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.18e-05/0.9467, allocations: 29.7 kB / 0.9061 GB, free: 11.91 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 7.483e-05/0.9467, allocations: 112.4 kB / 0.9062 GB, free: 11.8 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 7.891e-05/0.9468, allocations: 95.22 kB / 0.9063 GB, free: 11.7 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/0.9469, allocations: 73.67 kB / 0.9064 GB, free: 11.62 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.9471, allocations: 330.8 kB / 0.9067 GB, free: 11.29 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001708/0.9473, allocations: 79.94 kB / 0.9067 GB, free: 11.21 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002284/0.9475, allocations: 129.1 kB / 0.9069 GB, free: 11.07 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004257/0.9479, allocations: 219.4 kB / 0.9071 GB, free: 10.84 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.9479, allocations: 4 kB / 0.9071 GB, free: 10.84 MB / 0.67 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007299/0.9486, allocations: 301.4 kB / 0.9074 GB, free: 10.54 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.9487, allocations: 8 kB / 0.9074 GB, free: 10.53 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.9487, allocations: 3.938 kB / 0.9074 GB, free: 10.52 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.9487, allocations: 4 kB / 0.9074 GB, free: 10.52 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003045/0.949, allocations: 75.94 kB / 0.9075 GB, free: 10.45 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/0.949, allocations: 7.938 kB / 0.9075 GB, free: 10.44 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000149/0.9491, allocations: 19.83 kB / 0.9075 GB, free: 10.42 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.653e-05/0.9492, allocations: 27.97 kB / 0.9075 GB, free: 10.39 MB / 0.67 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.0001518/0.9493, allocations: 129.8 kB / 0.9076 GB, free: 10.25 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001712/0.9495, allocations: 15.91 kB / 0.9076 GB, free: 10.24 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002569/0.9521, allocations: 2.338 MB / 0.9099 GB, free: 7.887 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-05/0.9521, allocations: 11.98 kB / 0.9099 GB, free: 7.875 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.9521, allocations: 0 / 0.9099 GB, free: 7.875 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.9521, allocations: 3.938 kB / 0.9099 GB, free: 7.871 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003638/0.9558, allocations: 3.423 MB / 0.9133 GB, free: 4.336 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.265e-06/0.9558, allocations: 0 / 0.9133 GB, free: 4.336 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002885/0.9561, allocations: 63.81 kB / 0.9133 GB, free: 4.273 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.04e-05/0.9561, allocations: 5.688 kB / 0.9134 GB, free: 4.27 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.304e-05/0.9561, allocations: 11.94 kB / 0.9134 GB, free: 4.258 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.153e-06/0.9561, allocations: 7.984 kB / 0.9134 GB, free: 4.25 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.9561, allocations: 0 / 0.9134 GB, free: 4.25 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008401/0.9569, allocations: 0.5467 MB / 0.9139 GB, free: 3.684 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001562/0.9571, allocations: 136.7 kB / 0.914 GB, free: 3.531 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.774e-05/0.9571, allocations: 15.92 kB / 0.9141 GB, free: 3.516 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002157/0.9573, allocations: 8 kB / 0.9141 GB, free: 3.508 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.93e-05/0.9574, allocations: 27.97 kB / 0.9141 GB, free: 3.48 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.612e-05/0.9574, allocations: 8 kB / 0.9141 GB, free: 3.473 MB / 0.67 GB Notification: Performance of sorting global known variables: time 9.026e-05/0.9575, allocations: 113.7 kB / 0.9142 GB, free: 3.363 MB / 0.67 GB Notification: Performance of sort global known variables: time 1e-07/0.9575, allocations: 0 / 0.9142 GB, free: 3.363 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.004067/0.9616, allocations: 1.645 MB / 0.9158 GB, free: 1.715 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.009386/0.971, allocations: 2.896 MB / 0.9186 GB, free: 14.79 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0008042/0.9718, allocations: 316.5 kB / 0.9189 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.9718, allocations: 4.125 kB / 0.9189 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0003004/0.9721, allocations: 188.5 kB / 0.9191 GB, free: 14.3 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000598/0.9727, allocations: 78.38 kB / 0.9192 GB, free: 14.22 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006637/0.9793, allocations: 3.07 MB / 0.9222 GB, free: 11.04 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004341/0.9797, allocations: 0.7661 MB / 0.9229 GB, free: 10.25 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0006094/0.9804, allocations: 401.3 kB / 0.9233 GB, free: 9.852 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002022/0.9806, allocations: 99.38 kB / 0.9234 GB, free: 9.758 MB / 0.6856 GB Notification: Performance of SimCode: time 7.21e-07/0.9806, allocations: 0 / 0.9234 GB, free: 9.758 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1129/1.093, allocations: 60.82 MB / 0.9828 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/13.19, allocations: 10.77 kB / 0.9828 GB, free: 12.98 MB / 0.7481 GB " [Timeout remaining time 647] (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: 16.87614665972069] Failed to read output from testmodel.py, exit status != 0: 13.308560728095472 13.328409264 12.478069926 Calling exit ...