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.001365/0.001365, allocations: 117.9 kB / 18.5 MB, free: 4.52 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.001481/0.001481, allocations: 214.5 kB / 21.46 MB, free: 1.566 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.437/1.437, allocations: 230.4 MB / 254.7 MB, free: 15.04 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.2726/0.2726, allocations: 46.94 MB / 357.7 MB, free: 10.21 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.002275/0.002275, allocations: 79.86 kB / 0.4917 GB, free: 7.742 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1254, allocations: 66.04 MB / 0.5562 GB, free: 5.566 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.5016/0.6271, allocations: 178.7 MB / 0.7307 GB, free: 14.3 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008778/0.6358, allocations: 5.341 MB / 0.7359 GB, free: 8.934 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009307/0.6368, allocations: 27.75 kB / 0.736 GB, free: 8.906 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001198/0.638, allocations: 325.9 kB / 0.7363 GB, free: 8.586 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004148/0.6421, allocations: 1.372 MB / 0.7376 GB, free: 7.215 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003061/0.6452, allocations: 1.047 MB / 0.7386 GB, free: 6.176 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002706/0.6479, allocations: 1.856 MB / 0.7405 GB, free: 4.312 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008594/0.6487, allocations: 405.4 kB / 0.7408 GB, free: 3.914 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00276/0.6515, allocations: 1.105 MB / 0.7419 GB, free: 2.805 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001754/0.6532, allocations: 0.8017 MB / 0.7427 GB, free: 2 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002558/0.6535, allocations: 60 kB / 0.7428 GB, free: 1.941 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001825/0.6553, allocations: 0.632 MB / 0.7434 GB, free: 1.309 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004923/0.6558, allocations: 271.1 kB / 0.7436 GB, free: 1.043 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0008222/0.6566, allocations: 394.2 kB / 0.744 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002412/0.6591, allocations: 1.304 MB / 0.7453 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.6591, allocations: 4 kB / 0.7453 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.773e-06/0.6591, allocations: 0 / 0.7453 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.202e-05/0.6591, allocations: 0 / 0.7453 GB, free: 15.34 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.002914/0.662, allocations: 1.125 MB / 0.7464 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.6621, allocations: 12.03 kB / 0.7464 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000172/0.6622, allocations: 94.52 kB / 0.7465 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009114/0.6631, allocations: 143.4 kB / 0.7466 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009832/0.6641, allocations: 0.5395 MB / 0.7472 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001223/0.6643, allocations: 104.4 kB / 0.7473 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/0.6644, allocations: 44 kB / 0.7473 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001368/0.6657, allocations: 0.8136 MB / 0.7481 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/0.6657, allocations: 7.938 kB / 0.7481 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.265e-05/0.6658, allocations: 31.94 kB / 0.7481 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.99e-05/0.6659, allocations: 40.97 kB / 0.7482 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001153/0.667, allocations: 0.6166 MB / 0.7488 GB, free: 11.59 MB / 0.5606 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.004727/0.6718, allocations: 3.94 MB / 0.7526 GB, free: 7.41 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006132/0.6724, allocations: 339.1 kB / 0.7529 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003442/0.6727, allocations: 157.3 kB / 0.7531 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001291/0.6729, allocations: 101.4 kB / 0.7532 GB, free: 6.801 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.099e-05/0.6729, allocations: 42.84 kB / 0.7532 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.425e-06/0.6729, allocations: 0 / 0.7532 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.006061/0.679, allocations: 1.673 MB / 0.7549 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.499e-05/0.6791, allocations: 136.5 kB / 0.755 GB, free: 4.844 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007968/0.6799, allocations: 0.6211 MB / 0.7556 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.431e-05/0.6799, allocations: 29.7 kB / 0.7556 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003101/0.6802, allocations: 375.8 kB / 0.756 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001435/0.6804, allocations: 154.7 kB / 0.7561 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002395/0.6806, allocations: 154.6 kB / 0.7563 GB, free: 3.496 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001926/0.6808, allocations: 378.8 kB / 0.7566 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003732/0.6812, allocations: 197.9 kB / 0.7568 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006959/0.6819, allocations: 0.5202 MB / 0.7573 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001106/0.683, allocations: 0.7438 MB / 0.7581 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.683, allocations: 4 kB / 0.7581 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00168/0.6847, allocations: 0.8764 MB / 0.7589 GB, free: 488 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.7e-05/0.6847, allocations: 8 kB / 0.7589 GB, free: 480 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/0.6847, allocations: 19.97 kB / 0.759 GB, free: 464 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001455/0.6862, allocations: 322.7 kB / 0.7593 GB, free: 140 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004004/0.6866, allocations: 123.8 kB / 0.7594 GB, free: 16 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001229/0.6878, allocations: 0.9192 MB / 0.7603 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005085/0.6883, allocations: 35.98 kB / 0.7603 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.641e-05/0.6884, allocations: 72 kB / 0.7604 GB, free: 14.96 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.0003838/0.6888, allocations: 253.3 kB / 0.7606 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001355/0.6889, allocations: 75.61 kB / 0.7607 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001669/0.6906, allocations: 0.8532 MB / 0.7615 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/0.6906, allocations: 8 kB / 0.7615 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.6906, allocations: 0 / 0.7615 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.6906, allocations: 7.922 kB / 0.7615 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00221/0.6928, allocations: 1.462 MB / 0.763 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.6928, allocations: 4 kB / 0.763 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001073/0.6939, allocations: 211.9 kB / 0.7632 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.826e-05/0.694, allocations: 24.84 kB / 0.7632 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.746e-05/0.694, allocations: 20 kB / 0.7632 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002471/0.6965, allocations: 2.878 MB / 0.766 GB, free: 8.738 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.6965, allocations: 4.031 kB / 0.766 GB, free: 8.734 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001512/0.698, allocations: 0.8196 MB / 0.7668 GB, free: 7.879 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003417/0.6984, allocations: 188.7 kB / 0.767 GB, free: 7.676 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.571e-05/0.6985, allocations: 16.06 kB / 0.767 GB, free: 7.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003878/0.6988, allocations: 15.98 kB / 0.767 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/0.699, allocations: 43.89 kB / 0.7671 GB, free: 7.602 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.834e-05/0.699, allocations: 43.98 kB / 0.7671 GB, free: 7.559 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006405/0.6997, allocations: 439 kB / 0.7675 GB, free: 7.137 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.6997, allocations: 0 / 0.7675 GB, free: 7.137 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001009/0.7007, allocations: 251.8 kB / 0.7678 GB, free: 6.891 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.002218/0.7029, allocations: 1.545 MB / 0.7693 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001261/0.7042, allocations: 0.5389 MB / 0.7698 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.7042, allocations: 8 kB / 0.7698 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001037/0.7052, allocations: 406.3 kB / 0.7702 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001682/0.7069, allocations: 370.2 kB / 0.7706 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009262/0.7162, allocations: 6.321 MB / 0.7767 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005803/0.7167, allocations: 0.9337 MB / 0.7777 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001088/0.7178, allocations: 463.7 kB / 0.7781 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005057/0.7183, allocations: 283.3 kB / 0.7784 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of SimCode: time 9.82e-07/0.7183, allocations: 0 / 0.7784 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06504/0.7834, allocations: 24.49 MB / 0.8023 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.37/14.15, allocations: 8 kB / 0.8023 GB, free: 3.316 MB / 0.6075 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.243226590100676] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.p', 'volume.medium.T'] 14.25948835304007 14.282211792 13.618763178 Calling exit ...