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.00143/0.00143, allocations: 105.7 kB / 19.74 MB, free: 2.453 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.001576/0.001576, allocations: 214.7 kB / 22.92 MB, free: 5.195 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.287/1.287, allocations: 230.2 MB / 256.1 MB, free: 8.59 MB / 206.1 MB " [Timeout remaining time 179] 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.2217/0.2217, allocations: 46.87 MB / 359.3 MB, free: 4.969 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.002142/0.002142, allocations: 87.86 kB / 0.494 GB, free: 9.078 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/0.2631, allocations: 65.97 MB / 0.5584 GB, free: 5.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.1881/0.4512, allocations: 178.9 MB / 0.7332 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.2534/0.7046, allocations: 5.377 MB / 0.7384 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004295/0.7051, allocations: 22.09 kB / 0.7384 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007134/0.7058, allocations: 319.7 kB / 0.7387 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002793/0.7086, allocations: 1.365 MB / 0.7401 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002155/0.7107, allocations: 1.078 MB / 0.7411 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001484/0.7122, allocations: 1.854 MB / 0.7429 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000399/0.7126, allocations: 399.8 kB / 0.7433 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001468/0.7141, allocations: 1.104 MB / 0.7444 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008863/0.715, allocations: 0.7882 MB / 0.7452 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.707e-05/0.715, allocations: 63 kB / 0.7452 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001039/0.7161, allocations: 0.639 MB / 0.7458 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001983/0.7163, allocations: 274 kB / 0.7461 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003098/0.7166, allocations: 395.1 kB / 0.7465 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001217/0.7178, allocations: 1.311 MB / 0.7478 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.7178, allocations: 0 / 0.7478 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.272e-06/0.7178, allocations: 0.625 kB / 0.7478 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.027e-05/0.7178, allocations: 0 / 0.7478 GB, free: 1.605 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.001912/0.7197, allocations: 1.122 MB / 0.7489 GB, free: 16.98 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.7198, allocations: 11.8 kB / 0.7489 GB, free: 16.98 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001073/0.7199, allocations: 100.8 kB / 0.749 GB, free: 16.94 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007407/0.7206, allocations: 140.7 kB / 0.7491 GB, free: 16.89 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006708/0.7213, allocations: 0.5408 MB / 0.7496 GB, free: 16.63 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-05/0.7214, allocations: 97.17 kB / 0.7497 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.078e-05/0.7215, allocations: 47.86 kB / 0.7498 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009485/0.7224, allocations: 0.8255 MB / 0.7506 GB, free: 16.35 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.876e-05/0.7224, allocations: 3.984 kB / 0.7506 GB, free: 16.35 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.027e-05/0.7225, allocations: 26.94 kB / 0.7506 GB, free: 16.34 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-05/0.7225, allocations: 44.3 kB / 0.7506 GB, free: 16.34 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008258/0.7234, allocations: 0.6172 MB / 0.7512 GB, free: 16.34 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.003731/0.7271, allocations: 3.941 MB / 0.7551 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004595/0.7276, allocations: 338.7 kB / 0.7554 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002171/0.7278, allocations: 167.9 kB / 0.7556 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001173/0.7279, allocations: 90.77 kB / 0.7557 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.7279, allocations: 40.97 kB / 0.7557 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 1.813e-06/0.7279, allocations: 2.531 kB / 0.7557 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.004888/0.7328, allocations: 1.687 MB / 0.7574 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.233e-05/0.7329, allocations: 137.2 kB / 0.7575 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005306/0.7334, allocations: 0.6157 MB / 0.7581 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.388e-05/0.7335, allocations: 32.83 kB / 0.7581 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001832/0.7337, allocations: 376.4 kB / 0.7585 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.96e-05/0.7337, allocations: 147.3 kB / 0.7586 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001667/0.7339, allocations: 157.4 kB / 0.7588 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.7341, allocations: 376.9 kB / 0.7591 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002923/0.7343, allocations: 200 kB / 0.7593 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005058/0.7349, allocations: 0.5173 MB / 0.7598 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008241/0.7357, allocations: 0.7504 MB / 0.7606 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.7357, allocations: 3.594 kB / 0.7606 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001215/0.7369, allocations: 0.8831 MB / 0.7614 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.7369, allocations: 10.78 kB / 0.7614 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.7369, allocations: 12.56 kB / 0.7614 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001188/0.7381, allocations: 310.6 kB / 0.7617 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003382/0.7385, allocations: 127.5 kB / 0.7619 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009793/0.7394, allocations: 0.9305 MB / 0.7628 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004572/0.7399, allocations: 29.34 kB / 0.7628 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.945e-05/0.74, allocations: 64.69 kB / 0.7629 GB, free: 10.73 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.0003031/0.7403, allocations: 254.5 kB / 0.7631 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001203/0.7404, allocations: 70.09 kB / 0.7632 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001313/0.7417, allocations: 0.8571 MB / 0.764 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.7417, allocations: 7.344 kB / 0.764 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.7417, allocations: 0 / 0.764 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.7417, allocations: 10.78 kB / 0.764 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001711/0.7434, allocations: 1.461 MB / 0.7654 GB, free: 9.809 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.7434, allocations: 4.094 kB / 0.7655 GB, free: 9.809 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000947/0.7444, allocations: 209.9 kB / 0.7657 GB, free: 9.809 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.497e-05/0.7444, allocations: 26.02 kB / 0.7657 GB, free: 9.801 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.694e-05/0.7445, allocations: 24.62 kB / 0.7657 GB, free: 9.801 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00202/0.7465, allocations: 2.88 MB / 0.7685 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.7465, allocations: 0 / 0.7685 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001023/0.7475, allocations: 0.8225 MB / 0.7693 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002468/0.7478, allocations: 189.7 kB / 0.7695 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.294e-05/0.7479, allocations: 11.78 kB / 0.7695 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003638/0.7482, allocations: 16.28 kB / 0.7695 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.343e-05/0.7483, allocations: 48.44 kB / 0.7696 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.181e-05/0.7484, allocations: 43.81 kB / 0.7696 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004123/0.7488, allocations: 440.2 kB / 0.77 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.7488, allocations: 2.062 kB / 0.77 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007776/0.7495, allocations: 250.2 kB / 0.7703 GB, free: 6.574 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.001871/0.7514, allocations: 1.57 MB / 0.7718 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009345/0.7524, allocations: 0.5311 MB / 0.7723 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.7524, allocations: 0.6562 kB / 0.7723 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008509/0.7532, allocations: 407 kB / 0.7727 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001523/0.7547, allocations: 373.7 kB / 0.7731 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006989/0.7617, allocations: 6.326 MB / 0.7792 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005053/0.7622, allocations: 0.9316 MB / 0.7802 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008499/0.7631, allocations: 468.4 kB / 0.7806 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003863/0.7635, allocations: 288.5 kB / 0.7809 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of SimCode: time 1.012e-06/0.7635, allocations: 0 / 0.7809 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05369/0.8172, allocations: 24.62 MB / 0.8049 GB, free: 6.258 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.57, allocations: 15.12 kB / 0.8049 GB, free: 6.246 MB / 0.5919 GB " [Timeout remaining time 647] (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: 15.127889146999223]