Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.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.001428/0.001428, allocations: 105 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.001559/0.001559, allocations: 218.3 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.309/1.309, allocations: 230.2 MB / 256.2 MB, free: 8.598 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.1995/0.1995, allocations: 46.89 MB / 359.3 MB, free: 4.98 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.Air.DryAirNasa,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",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.002106/0.002106, allocations: 80.14 kB / 0.494 GB, free: 9.105 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2566/0.2587, allocations: 65.99 MB / 0.5584 GB, free: 5.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.1961/0.4547, allocations: 178.1 MB / 0.7323 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.2559/0.7107, allocations: 5.372 MB / 0.7376 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004071/0.7111, allocations: 21.56 kB / 0.7376 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006952/0.7118, allocations: 321.9 kB / 0.7379 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002451/0.7142, allocations: 1.27 MB / 0.7391 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001874/0.7161, allocations: 0.9741 MB / 0.7401 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001303/0.7174, allocations: 1.864 MB / 0.7419 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003799/0.7178, allocations: 393.3 kB / 0.7423 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00139/0.7192, allocations: 1.1 MB / 0.7433 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006892/0.7199, allocations: 0.6973 MB / 0.744 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.502e-05/0.72, allocations: 61.84 kB / 0.7441 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009277/0.7209, allocations: 0.6389 MB / 0.7447 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001902/0.7211, allocations: 273.2 kB / 0.745 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002981/0.7214, allocations: 396.8 kB / 0.7454 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001102/0.7225, allocations: 1.314 MB / 0.7466 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.7225, allocations: 0 / 0.7466 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.352e-06/0.7225, allocations: 1.125 kB / 0.7466 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.997e-06/0.7225, allocations: 3.938 kB / 0.7466 GB, free: 1.625 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.00185/0.7243, allocations: 1.126 MB / 0.7477 GB, free: 17 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.7244, allocations: 10.69 kB / 0.7477 GB, free: 17 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001031/0.7245, allocations: 102.2 kB / 0.7478 GB, free: 16.96 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007259/0.7252, allocations: 136.8 kB / 0.748 GB, free: 16.92 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006662/0.7259, allocations: 0.5318 MB / 0.7485 GB, free: 16.65 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.234e-05/0.726, allocations: 105.2 kB / 0.7486 GB, free: 16.59 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.895e-05/0.726, allocations: 47.28 kB / 0.7486 GB, free: 16.59 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009345/0.727, allocations: 0.8215 MB / 0.7494 GB, free: 16.38 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/0.727, allocations: 1.078 kB / 0.7494 GB, free: 16.38 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.801e-05/0.7271, allocations: 27.03 kB / 0.7495 GB, free: 16.38 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-05/0.7271, allocations: 42.75 kB / 0.7495 GB, free: 16.38 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008019/0.7279, allocations: 0.6156 MB / 0.7501 GB, free: 16.38 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.003663/0.7316, allocations: 3.943 MB / 0.754 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004532/0.732, allocations: 340.1 kB / 0.7543 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002153/0.7322, allocations: 167.4 kB / 0.7544 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001104/0.7323, allocations: 90.23 kB / 0.7545 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.7324, allocations: 40.97 kB / 0.7546 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 1.583e-06/0.7324, allocations: 0.9062 kB / 0.7546 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.004802/0.7372, allocations: 1.689 MB / 0.7562 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.383e-05/0.7373, allocations: 131.6 kB / 0.7563 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005152/0.7378, allocations: 0.6171 MB / 0.757 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.696e-05/0.7378, allocations: 37.77 kB / 0.757 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001758/0.738, allocations: 374.9 kB / 0.7573 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.909e-05/0.7381, allocations: 152.6 kB / 0.7575 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001668/0.7382, allocations: 156.7 kB / 0.7576 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.7384, allocations: 376.3 kB / 0.758 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002873/0.7387, allocations: 204 kB / 0.7582 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000498/0.7392, allocations: 0.5154 MB / 0.7587 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008135/0.74, allocations: 0.7459 MB / 0.7594 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.67e-06/0.74, allocations: 6.594 kB / 0.7594 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00116/0.7412, allocations: 0.8866 MB / 0.7603 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.7412, allocations: 10.41 kB / 0.7603 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.7412, allocations: 10.06 kB / 0.7603 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001154/0.7423, allocations: 310.5 kB / 0.7606 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000331/0.7427, allocations: 126 kB / 0.7607 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009432/0.7436, allocations: 0.9263 MB / 0.7616 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004125/0.744, allocations: 37.22 kB / 0.7617 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.598e-05/0.7441, allocations: 66.69 kB / 0.7617 GB, free: 10.75 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.0002666/0.7444, allocations: 244.9 kB / 0.762 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/0.7445, allocations: 71.92 kB / 0.762 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001286/0.7458, allocations: 0.8608 MB / 0.7629 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/0.7458, allocations: 8.812 kB / 0.7629 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.7458, allocations: 0.9375 kB / 0.7629 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.7458, allocations: 3.094 kB / 0.7629 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001642/0.7474, allocations: 1.457 MB / 0.7643 GB, free: 9.855 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.7474, allocations: 0.8438 kB / 0.7643 GB, free: 9.855 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009229/0.7483, allocations: 212.1 kB / 0.7645 GB, free: 9.855 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.291e-05/0.7484, allocations: 27.58 kB / 0.7645 GB, free: 9.848 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.442e-05/0.7484, allocations: 22.38 kB / 0.7646 GB, free: 9.848 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002002/0.7504, allocations: 2.877 MB / 0.7674 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.201e-06/0.7505, allocations: 10.05 kB / 0.7674 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009928/0.7514, allocations: 0.8128 MB / 0.7682 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002197/0.7517, allocations: 192.2 kB / 0.7684 GB, free: 6.723 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.525e-05/0.7517, allocations: 21 kB / 0.7684 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003618/0.7521, allocations: 14.08 kB / 0.7684 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.694e-05/0.7522, allocations: 45.25 kB / 0.7684 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-05/0.7522, allocations: 45.92 kB / 0.7685 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003969/0.7526, allocations: 439.2 kB / 0.7689 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.7526, allocations: 0 / 0.7689 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007477/0.7534, allocations: 255.9 kB / 0.7691 GB, free: 6.609 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.001829/0.7552, allocations: 1.56 MB / 0.7707 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008908/0.7561, allocations: 0.5358 MB / 0.7712 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.7561, allocations: 4.922 kB / 0.7712 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008438/0.757, allocations: 414.5 kB / 0.7716 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001417/0.7584, allocations: 365.3 kB / 0.7719 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007022/0.7654, allocations: 6.32 MB / 0.7781 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005928/0.766, allocations: 0.9357 MB / 0.779 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009666/0.767, allocations: 465 kB / 0.7795 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004098/0.7674, allocations: 283.3 kB / 0.7797 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of SimCode: time 1.192e-06/0.7674, allocations: 0 / 0.7797 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05577/0.8231, allocations: 24.63 MB / 0.8038 GB, free: 6.676 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12.65, allocations: 7.938 kB / 0.8038 GB, free: 6.668 MB / 0.5919 GB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_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_Air_DryAirNasa.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.186094796998077]