Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001786/0.001786, allocations: 122.1 kB / 18.46 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002302/0.002303, allocations: 215.3 kB / 21.41 MB, free: 1.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.641/1.641, allocations: 227.4 MB / 251.7 MB, free: 28 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2394/0.2394, allocations: 46.15 MB / 351.1 MB, free: 14.29 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002298/0.002298, allocations: 82.12 kB / 489.7 MB, free: 28.35 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1431, allocations: 62.46 MB / 0.5392 GB, free: 4.746 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.5562/0.6993, allocations: 178.2 MB / 0.7132 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007793/0.7071, allocations: 5.338 MB / 0.7184 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006508/0.7078, allocations: 19.88 kB / 0.7184 GB, free: 8.336 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009011/0.7087, allocations: 317.9 kB / 0.7187 GB, free: 8.023 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003516/0.7123, allocations: 1.341 MB / 0.72 GB, free: 6.684 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002885/0.7152, allocations: 1.068 MB / 0.7211 GB, free: 5.621 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002567/0.7177, allocations: 1.852 MB / 0.7229 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008113/0.7186, allocations: 462 kB / 0.7233 GB, free: 3.312 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002365/0.7209, allocations: 1.082 MB / 0.7244 GB, free: 2.227 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001484/0.7224, allocations: 0.755 MB / 0.7251 GB, free: 1.469 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001508/0.7226, allocations: 60 kB / 0.7252 GB, free: 1.41 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001642/0.7243, allocations: 0.6242 MB / 0.7258 GB, free: 0.7852 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000343/0.7246, allocations: 263.2 kB / 0.726 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0005109/0.7251, allocations: 394.2 kB / 0.7264 GB, free: 144 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002035/0.7272, allocations: 1.312 MB / 0.7277 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.7272, allocations: 3.984 kB / 0.7277 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.342e-06/0.7272, allocations: 4 kB / 0.7277 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.066e-05/0.7272, allocations: 0 / 0.7277 GB, free: 14.82 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002362/0.7296, allocations: 1.117 MB / 0.7288 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.7296, allocations: 8.031 kB / 0.7288 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001432/0.7298, allocations: 98.52 kB / 0.7289 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008325/0.7306, allocations: 147.3 kB / 0.729 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008613/0.7315, allocations: 0.5356 MB / 0.7295 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001235/0.7316, allocations: 100.4 kB / 0.7296 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.344e-05/0.7317, allocations: 52 kB / 0.7297 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001299/0.733, allocations: 0.8136 MB / 0.7305 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.319e-05/0.7331, allocations: 3.938 kB / 0.7305 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-05/0.7332, allocations: 27.94 kB / 0.7305 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-05/0.7332, allocations: 44.97 kB / 0.7306 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001093/0.7343, allocations: 0.6166 MB / 0.7312 GB, free: 11.07 MB / 0.5294 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004753/0.7391, allocations: 3.944 MB / 0.735 GB, free: 6.883 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006357/0.7397, allocations: 354.4 kB / 0.7354 GB, free: 6.531 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003081/0.7401, allocations: 177.2 kB / 0.7355 GB, free: 6.355 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001377/0.7402, allocations: 93.38 kB / 0.7356 GB, free: 6.246 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.823e-05/0.7403, allocations: 38.84 kB / 0.7357 GB, free: 6.199 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=34): time 2.404e-06/0.7403, allocations: 4 kB / 0.7357 GB, free: 6.195 MB / 0.5294 GB Notification: Performance of matching and sorting (n=39): time 0.005613/0.7459, allocations: 1.683 MB / 0.7373 GB, free: 4.445 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.426e-05/0.746, allocations: 132.5 kB / 0.7374 GB, free: 4.285 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007756/0.7468, allocations: 0.6172 MB / 0.738 GB, free: 3.656 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.112e-05/0.7468, allocations: 33.7 kB / 0.7381 GB, free: 3.617 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000299/0.7471, allocations: 375.8 kB / 0.7384 GB, free: 3.246 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001296/0.7473, allocations: 150.7 kB / 0.7386 GB, free: 3.098 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002359/0.7475, allocations: 162.5 kB / 0.7387 GB, free: 2.934 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001928/0.7477, allocations: 374.8 kB / 0.7391 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003712/0.7481, allocations: 205.9 kB / 0.7393 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006309/0.7487, allocations: 0.5163 MB / 0.7398 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001027/0.7498, allocations: 0.7438 MB / 0.7405 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.7498, allocations: 0 / 0.7405 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001571/0.7514, allocations: 0.8843 MB / 0.7414 GB, free: 15.91 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.828e-05/0.7514, allocations: 21.64 kB / 0.7414 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.576e-05/0.7514, allocations: 13.12 kB / 0.7414 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001399/0.7528, allocations: 312.6 kB / 0.7417 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003938/0.7532, allocations: 123.8 kB / 0.7418 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001171/0.7544, allocations: 0.9231 MB / 0.7427 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004719/0.7549, allocations: 31.98 kB / 0.7427 GB, free: 14.47 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.686e-05/0.755, allocations: 72.86 kB / 0.7428 GB, free: 14.4 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0003632/0.7554, allocations: 253.4 kB / 0.7431 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000124/0.7555, allocations: 67.58 kB / 0.7431 GB, free: 14.08 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001673/0.7572, allocations: 0.8639 MB / 0.744 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.7572, allocations: 7.938 kB / 0.744 GB, free: 13.19 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.7572, allocations: 0 / 0.744 GB, free: 13.19 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.7572, allocations: 7.922 kB / 0.744 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002202/0.7594, allocations: 1.461 MB / 0.7454 GB, free: 11.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.7595, allocations: 0 / 0.7454 GB, free: 11.59 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001054/0.7605, allocations: 215.9 kB / 0.7456 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.077e-05/0.7606, allocations: 24.84 kB / 0.7456 GB, free: 11.35 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.616e-05/0.7607, allocations: 19.98 kB / 0.7457 GB, free: 11.33 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002343/0.763, allocations: 2.874 MB / 0.7485 GB, free: 8.176 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.7631, allocations: 4.031 kB / 0.7485 GB, free: 8.172 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001326/0.7644, allocations: 0.823 MB / 0.7493 GB, free: 7.312 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002926/0.7647, allocations: 188.7 kB / 0.7494 GB, free: 7.109 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.69e-05/0.7648, allocations: 16.05 kB / 0.7495 GB, free: 7.094 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003717/0.7652, allocations: 16 kB / 0.7495 GB, free: 7.078 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.881e-05/0.7653, allocations: 43.89 kB / 0.7495 GB, free: 7.035 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.278e-05/0.7654, allocations: 43.98 kB / 0.7496 GB, free: 6.992 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005531/0.7659, allocations: 439 kB / 0.75 GB, free: 6.57 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7659, allocations: 0 / 0.75 GB, free: 6.57 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008738/0.7668, allocations: 251.8 kB / 0.7502 GB, free: 6.324 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002369/0.7692, allocations: 1.571 MB / 0.7518 GB, free: 4.711 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001286/0.7705, allocations: 0.5585 MB / 0.7523 GB, free: 4.156 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.7705, allocations: 0 / 0.7523 GB, free: 4.156 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001041/0.7715, allocations: 414.3 kB / 0.7527 GB, free: 3.738 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001685/0.7732, allocations: 371 kB / 0.7531 GB, free: 3.387 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009095/0.7823, allocations: 6.337 MB / 0.7592 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005838/0.783, allocations: 0.9376 MB / 0.7602 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001129/0.7841, allocations: 475.6 kB / 0.7606 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005046/0.7846, allocations: 279.3 kB / 0.7609 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of SimCode: time 6.21e-07/0.7846, allocations: 0 / 0.7609 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0628/0.8474, allocations: 24.46 MB / 0.7848 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.14/13.99, allocations: 22.81 kB / 0.7848 GB, free: 2.688 MB / 0.5762 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.232669263146818] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.p', 'volume.medium.T'] 14.094740959117189 14.1161463 13.385154332 Calling exit ...