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.001334/0.001334, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001461/0.001461, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.41/1.41, allocations: 230.5 MB / 258.2 MB, free: 8.004 MB / 206.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.2188/0.2188, allocations: 46.94 MB / 361.6 MB, free: 4.184 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.002285/0.002285, allocations: 79.88 kB / 0.497 GB, free: 7.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.329, allocations: 66.08 MB / 0.5615 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.2046/0.5335, allocations: 179 MB / 0.7363 GB, free: 0.6758 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.3127/0.8462, allocations: 5.368 MB / 0.7415 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000675/0.8469, allocations: 28.38 kB / 0.7415 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000873/0.8477, allocations: 331.5 kB / 0.7419 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003411/0.8511, allocations: 1.379 MB / 0.7432 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002651/0.8538, allocations: 1.086 MB / 0.7443 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002135/0.8559, allocations: 1.873 MB / 0.7461 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004805/0.8564, allocations: 387.5 kB / 0.7465 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001971/0.8584, allocations: 1.123 MB / 0.7476 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00118/0.8596, allocations: 0.7975 MB / 0.7483 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000106/0.8597, allocations: 58.94 kB / 0.7484 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001264/0.8609, allocations: 0.6472 MB / 0.749 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002277/0.8612, allocations: 277.1 kB / 0.7493 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003655/0.8615, allocations: 395.2 kB / 0.7497 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001519/0.863, allocations: 1.311 MB / 0.751 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.863, allocations: 1.094 kB / 0.751 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.753e-06/0.8631, allocations: 2.281 kB / 0.751 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.135e-05/0.8631, allocations: 0.9375 kB / 0.751 GB, free: 1.613 MB / 0.5606 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.002091/0.8652, allocations: 1.044 MB / 0.752 GB, free: 17.08 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.8652, allocations: 10.78 kB / 0.752 GB, free: 17.08 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001154/0.8653, allocations: 94.56 kB / 0.7521 GB, free: 17.04 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007653/0.8661, allocations: 146 kB / 0.7522 GB, free: 17 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007781/0.8669, allocations: 479.1 kB / 0.7527 GB, free: 16.8 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001466/0.867, allocations: 156.5 kB / 0.7528 GB, free: 16.68 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.219e-05/0.8671, allocations: 50.72 kB / 0.7529 GB, free: 16.68 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001041/0.8681, allocations: 0.8075 MB / 0.7537 GB, free: 16.46 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/0.8681, allocations: 3.344 kB / 0.7537 GB, free: 16.46 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.771e-05/0.8682, allocations: 32.81 kB / 0.7537 GB, free: 16.46 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.703e-05/0.8683, allocations: 41.05 kB / 0.7537 GB, free: 16.46 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008616/0.8691, allocations: 0.6188 MB / 0.7543 GB, free: 16.46 MB / 0.5762 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.003986/0.8731, allocations: 3.89 MB / 0.7581 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004734/0.8736, allocations: 340.6 kB / 0.7585 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002228/0.8738, allocations: 160.2 kB / 0.7586 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.789e-05/0.8739, allocations: 21.23 kB / 0.7586 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.217e-05/0.8739, allocations: 40.66 kB / 0.7587 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 1.733e-06/0.8739, allocations: 3.75 kB / 0.7587 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.004816/0.8787, allocations: 1.612 MB / 0.7603 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.739e-05/0.8788, allocations: 137.4 kB / 0.7604 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005635/0.8794, allocations: 0.609 MB / 0.761 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.998e-05/0.8794, allocations: 34.92 kB / 0.761 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000192/0.8796, allocations: 379.8 kB / 0.7614 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.114e-05/0.8797, allocations: 143 kB / 0.7615 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000172/0.8799, allocations: 160.9 kB / 0.7617 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.88, allocations: 374.6 kB / 0.762 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003046/0.8803, allocations: 204.1 kB / 0.7622 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005319/0.8809, allocations: 0.5149 MB / 0.7627 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008766/0.8818, allocations: 0.7476 MB / 0.7634 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.8818, allocations: 3.406 kB / 0.7635 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001229/0.883, allocations: 0.8772 MB / 0.7643 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.883, allocations: 21.08 kB / 0.7643 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.883, allocations: 13.34 kB / 0.7643 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001213/0.8842, allocations: 311 kB / 0.7646 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003577/0.8846, allocations: 125.2 kB / 0.7648 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001026/0.8856, allocations: 0.9279 MB / 0.7657 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000467/0.8861, allocations: 27.83 kB / 0.7657 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.303e-05/0.8862, allocations: 66.59 kB / 0.7658 GB, free: 11.07 MB / 0.5762 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.00031/0.8865, allocations: 250.5 kB / 0.766 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001179/0.8866, allocations: 69.7 kB / 0.7661 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001383/0.888, allocations: 0.8647 MB / 0.7669 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.888, allocations: 4.875 kB / 0.7669 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.888, allocations: 2.297 kB / 0.7669 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.929e-06/0.888, allocations: 9.188 kB / 0.7669 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00168/0.8897, allocations: 1.209 MB / 0.7681 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.8897, allocations: 3.219 kB / 0.7681 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009821/0.8907, allocations: 213.9 kB / 0.7683 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.233e-05/0.8907, allocations: 24.92 kB / 0.7683 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.594e-05/0.8908, allocations: 20.08 kB / 0.7683 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002104/0.8929, allocations: 2.677 MB / 0.771 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.8929, allocations: 2.625 kB / 0.771 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001084/0.894, allocations: 0.8157 MB / 0.7718 GB, free: 7.719 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002702/0.8942, allocations: 116.1 kB / 0.7719 GB, free: 7.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.399e-05/0.8943, allocations: 15.81 kB / 0.7719 GB, free: 7.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003857/0.8947, allocations: 11.72 kB / 0.7719 GB, free: 7.68 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.61e-05/0.8948, allocations: 48.25 kB / 0.7719 GB, free: 7.676 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.602e-05/0.8949, allocations: 44.67 kB / 0.772 GB, free: 7.676 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004545/0.8953, allocations: 439.4 kB / 0.7724 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.1e-08/0.8953, allocations: 0 / 0.7724 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008131/0.8961, allocations: 259.1 kB / 0.7727 GB, free: 7.57 MB / 0.5762 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.001858/0.898, allocations: 1.536 MB / 0.7742 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001038/0.899, allocations: 0.5379 MB / 0.7747 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.899, allocations: 3.219 kB / 0.7747 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000915/0.8999, allocations: 406 kB / 0.7751 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001428/0.9014, allocations: 372.5 kB / 0.7754 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00765/0.909, allocations: 6.326 MB / 0.7816 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005031/0.9095, allocations: 0.9385 MB / 0.7825 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009728/0.9105, allocations: 465.1 kB / 0.783 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003949/0.9109, allocations: 285.6 kB / 0.7832 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of SimCode: time 7.01e-07/0.9109, allocations: 0 / 0.7832 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06011/0.971, allocations: 24.98 MB / 0.8076 GB, free: 6.633 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.15/14.12, allocations: 4.062 kB / 0.8076 GB, free: 6.629 MB / 0.5919 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 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.03929743776098] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.p', 'volume.medium.T'] 14.233396844938397 14.259807388 13.391946402 Calling exit ...