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.001419/0.001419, 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.001633/0.001633, 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.29/1.29, allocations: 230.2 MB / 256.2 MB, free: 8.574 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.1962/0.1962, allocations: 46.9 MB / 359.3 MB, free: 4.945 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.00214/0.00214, allocations: 75.88 kB / 0.494 GB, free: 9.074 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2601/0.2622, allocations: 65.99 MB / 0.5584 GB, free: 5.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.1944/0.4566, allocations: 178.9 MB / 0.7332 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.2478/0.7044, allocations: 5.369 MB / 0.7384 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004302/0.7049, allocations: 21.28 kB / 0.7384 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000709/0.7056, allocations: 324.2 kB / 0.7387 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002784/0.7084, allocations: 1.36 MB / 0.7401 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002133/0.7105, allocations: 1.076 MB / 0.7411 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001477/0.712, allocations: 1.862 MB / 0.7429 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004239/0.7124, allocations: 394.3 kB / 0.7433 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001545/0.714, allocations: 1.1 MB / 0.7444 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009602/0.7149, allocations: 0.7946 MB / 0.7452 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001007/0.715, allocations: 61.19 kB / 0.7452 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00104/0.7161, allocations: 0.6389 MB / 0.7458 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001969/0.7162, allocations: 270.4 kB / 0.7461 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003178/0.7166, allocations: 397.4 kB / 0.7465 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001159/0.7177, allocations: 1.307 MB / 0.7478 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.7177, allocations: 0.9688 kB / 0.7478 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of FrontEnd: time 8.41e-07/0.7177, allocations: 0 / 0.7478 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.656e-06/0.7177, allocations: 3.5 kB / 0.7478 GB, free: 1.586 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.00178/0.7195, allocations: 1.123 MB / 0.7489 GB, free: 16.96 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.785e-05/0.7195, allocations: 9.344 kB / 0.7489 GB, free: 16.96 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.959e-05/0.7196, allocations: 104.3 kB / 0.749 GB, free: 16.92 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007128/0.7204, allocations: 141.3 kB / 0.7491 GB, free: 16.88 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006382/0.721, allocations: 0.5338 MB / 0.7496 GB, free: 16.61 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.521e-05/0.7211, allocations: 96.61 kB / 0.7497 GB, free: 16.55 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.672e-05/0.7212, allocations: 52.75 kB / 0.7498 GB, free: 16.55 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009134/0.7221, allocations: 0.8219 MB / 0.7506 GB, free: 16.34 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.7221, allocations: 4.188 kB / 0.7506 GB, free: 16.34 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.734e-05/0.7222, allocations: 28.92 kB / 0.7506 GB, free: 16.33 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.913e-05/0.7222, allocations: 41.36 kB / 0.7506 GB, free: 16.33 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008094/0.723, allocations: 0.6202 MB / 0.7512 GB, free: 16.32 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.003639/0.7266, allocations: 3.942 MB / 0.7551 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000461/0.7271, allocations: 340.2 kB / 0.7554 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002122/0.7273, allocations: 160.8 kB / 0.7556 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.475e-05/0.7274, allocations: 98.89 kB / 0.7557 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.7274, allocations: 37.34 kB / 0.7557 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 1.393e-06/0.7274, allocations: 0 / 0.7557 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.00479/0.7322, allocations: 1.693 MB / 0.7574 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.083e-05/0.7323, allocations: 133 kB / 0.7575 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005082/0.7328, allocations: 0.6184 MB / 0.7581 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.74e-05/0.7329, allocations: 35.05 kB / 0.7581 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001724/0.733, allocations: 369.9 kB / 0.7585 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.072e-05/0.7331, allocations: 154.3 kB / 0.7586 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001745/0.7333, allocations: 164.5 kB / 0.7588 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.7334, allocations: 371.6 kB / 0.7591 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000293/0.7337, allocations: 208.2 kB / 0.7593 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005578/0.7343, allocations: 0.5074 MB / 0.7598 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008531/0.7351, allocations: 0.7544 MB / 0.7606 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.7352, allocations: 3.406 kB / 0.7606 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001178/0.7363, allocations: 0.8776 MB / 0.7614 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.7364, allocations: 15.62 kB / 0.7614 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.7364, allocations: 10.81 kB / 0.7614 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001156/0.7375, allocations: 313.9 kB / 0.7617 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003318/0.7378, allocations: 125.9 kB / 0.7619 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009667/0.7388, allocations: 0.9295 MB / 0.7628 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004191/0.7392, allocations: 29 kB / 0.7628 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.513e-05/0.7393, allocations: 65.83 kB / 0.7629 GB, free: 10.71 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.0002768/0.7396, allocations: 251.6 kB / 0.7631 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/0.7397, allocations: 73.91 kB / 0.7632 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001291/0.741, allocations: 0.8585 MB / 0.764 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.741, allocations: 5.969 kB / 0.764 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.741, allocations: 0 / 0.764 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/0.741, allocations: 7.891 kB / 0.764 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00168/0.7427, allocations: 1.456 MB / 0.7654 GB, free: 9.797 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.7427, allocations: 3 kB / 0.7655 GB, free: 9.797 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009307/0.7436, allocations: 212.8 kB / 0.7657 GB, free: 9.797 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.259e-05/0.7437, allocations: 23.8 kB / 0.7657 GB, free: 9.789 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.425e-05/0.7437, allocations: 20.7 kB / 0.7657 GB, free: 9.789 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002044/0.7458, allocations: 2.874 MB / 0.7685 GB, free: 7.035 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.7458, allocations: 3.938 kB / 0.7685 GB, free: 7.035 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/0.7468, allocations: 0.8286 MB / 0.7693 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002205/0.747, allocations: 191 kB / 0.7695 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.156e-05/0.7471, allocations: 7.094 kB / 0.7695 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000362/0.7475, allocations: 22.09 kB / 0.7695 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.237e-05/0.7475, allocations: 41.41 kB / 0.7696 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.098e-05/0.7476, allocations: 47.86 kB / 0.7696 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003922/0.748, allocations: 440.2 kB / 0.77 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.748, allocations: 0 / 0.77 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007611/0.7487, allocations: 253.4 kB / 0.7703 GB, free: 6.562 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.001861/0.7506, allocations: 1.568 MB / 0.7718 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008953/0.7515, allocations: 0.5309 MB / 0.7723 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.7515, allocations: 3.094 kB / 0.7723 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000846/0.7523, allocations: 403.9 kB / 0.7727 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00145/0.7538, allocations: 374.4 kB / 0.7731 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006807/0.7606, allocations: 6.333 MB / 0.7793 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000459/0.7611, allocations: 0.9312 MB / 0.7802 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008456/0.7619, allocations: 466.3 kB / 0.7806 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003753/0.7623, allocations: 286.2 kB / 0.7809 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of SimCode: time 6.11e-07/0.7623, allocations: 0 / 0.7809 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05406/0.8163, allocations: 24.64 MB / 0.8049 GB, free: 6.254 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/12.48, allocations: 7.625 kB / 0.805 GB, free: 6.25 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 & /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 --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: 14.948225255997386]