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: 106.5 kB / 19.74 MB, free: 2.566 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.001542/0.001542, allocations: 222.4 kB / 22.92 MB, free: 5.539 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.292/1.292, allocations: 230.2 MB / 256.1 MB, free: 8.762 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.2008/0.2008, allocations: 46.89 MB / 359.3 MB, free: 4.996 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.00218/0.00218, allocations: 87.8 kB / 0.494 GB, free: 9.105 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2578/0.26, allocations: 65.98 MB / 0.5584 GB, free: 5.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.1876/0.4476, allocations: 178.1 MB / 0.7323 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.2561/0.7037, allocations: 5.364 MB / 0.7376 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004722/0.7042, allocations: 22.25 kB / 0.7376 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007192/0.7049, allocations: 322.8 kB / 0.7379 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002686/0.7076, allocations: 1.277 MB / 0.7391 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002105/0.7097, allocations: 0.9727 MB / 0.7401 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001676/0.7114, allocations: 1.857 MB / 0.7419 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004219/0.7118, allocations: 394 kB / 0.7423 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001616/0.7134, allocations: 1.104 MB / 0.7434 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008041/0.7142, allocations: 0.7028 MB / 0.744 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001066/0.7143, allocations: 60.22 kB / 0.7441 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001186/0.7155, allocations: 0.635 MB / 0.7447 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002452/0.7158, allocations: 271.7 kB / 0.745 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000436/0.7162, allocations: 395.4 kB / 0.7454 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001744/0.718, allocations: 1.312 MB / 0.7466 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.718, allocations: 0 / 0.7466 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.224e-06/0.718, allocations: 3.562 kB / 0.7466 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.91e-05/0.718, allocations: 7.125 kB / 0.7466 GB, free: 1.621 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.00234/0.7203, allocations: 1.123 MB / 0.7477 GB, free: 16.98 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.7204, allocations: 11.25 kB / 0.7478 GB, free: 16.98 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001202/0.7205, allocations: 102.1 kB / 0.7478 GB, free: 16.95 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007415/0.7212, allocations: 134.3 kB / 0.748 GB, free: 16.91 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007288/0.7219, allocations: 0.5355 MB / 0.7485 GB, free: 16.64 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001021/0.722, allocations: 102.3 kB / 0.7486 GB, free: 16.58 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.742e-05/0.7221, allocations: 48.22 kB / 0.7486 GB, free: 16.58 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009588/0.7231, allocations: 0.8197 MB / 0.7494 GB, free: 16.37 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.896e-05/0.7231, allocations: 2.094 kB / 0.7494 GB, free: 16.37 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.755e-05/0.7232, allocations: 25.66 kB / 0.7495 GB, free: 16.37 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-05/0.7232, allocations: 41.11 kB / 0.7495 GB, free: 16.37 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008117/0.724, allocations: 0.6197 MB / 0.7501 GB, free: 16.36 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.003777/0.7278, allocations: 3.942 MB / 0.754 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004543/0.7283, allocations: 339.6 kB / 0.7543 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000214/0.7285, allocations: 166.5 kB / 0.7544 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001107/0.7286, allocations: 89.59 kB / 0.7545 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.7286, allocations: 37.41 kB / 0.7546 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 1.653e-06/0.7286, allocations: 4.156 kB / 0.7546 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.004953/0.7336, allocations: 1.69 MB / 0.7562 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.489e-05/0.7337, allocations: 134.1 kB / 0.7564 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005384/0.7342, allocations: 0.6144 MB / 0.757 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.146e-05/0.7342, allocations: 36.45 kB / 0.757 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001813/0.7344, allocations: 379.6 kB / 0.7573 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.317e-05/0.7345, allocations: 149.6 kB / 0.7575 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001735/0.7347, allocations: 160.1 kB / 0.7576 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.7348, allocations: 375.8 kB / 0.758 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002888/0.7351, allocations: 200.5 kB / 0.7582 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005059/0.7356, allocations: 0.5165 MB / 0.7587 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008174/0.7364, allocations: 0.7478 MB / 0.7594 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.7364, allocations: 5.719 kB / 0.7594 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001171/0.7376, allocations: 0.8799 MB / 0.7603 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.7376, allocations: 11.12 kB / 0.7603 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.7376, allocations: 12.36 kB / 0.7603 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001186/0.7388, allocations: 318.9 kB / 0.7606 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003373/0.7392, allocations: 122.2 kB / 0.7607 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000963/0.7401, allocations: 0.9277 MB / 0.7616 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004372/0.7406, allocations: 30.62 kB / 0.7617 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.881e-05/0.7406, allocations: 73.33 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.0002929/0.7409, allocations: 243.7 kB / 0.762 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.741, allocations: 71.05 kB / 0.762 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001333/0.7424, allocations: 0.8653 MB / 0.7629 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/0.7424, allocations: 8.062 kB / 0.7629 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.7424, allocations: 3.406 kB / 0.7629 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.7424, allocations: 3.781 kB / 0.7629 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001694/0.7441, allocations: 1.456 MB / 0.7643 GB, free: 9.844 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.191e-06/0.7441, allocations: 7.578 kB / 0.7643 GB, free: 9.84 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009471/0.745, allocations: 210.2 kB / 0.7645 GB, free: 9.84 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.419e-05/0.7451, allocations: 25.66 kB / 0.7646 GB, free: 9.832 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.64e-05/0.7452, allocations: 23.47 kB / 0.7646 GB, free: 9.832 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002074/0.7472, allocations: 2.872 MB / 0.7674 GB, free: 7.074 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.002e-06/0.7472, allocations: 7.125 kB / 0.7674 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.7483, allocations: 0.8172 MB / 0.7682 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002324/0.7485, allocations: 192 kB / 0.7684 GB, free: 6.711 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.521e-05/0.7486, allocations: 15.84 kB / 0.7684 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003734/0.7489, allocations: 15.14 kB / 0.7684 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.466e-05/0.749, allocations: 44.27 kB / 0.7684 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.376e-05/0.7491, allocations: 47.06 kB / 0.7685 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004384/0.7495, allocations: 436.3 kB / 0.7689 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.7495, allocations: 4.25 kB / 0.7689 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008418/0.7503, allocations: 255.3 kB / 0.7691 GB, free: 6.602 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.001891/0.7522, allocations: 1.556 MB / 0.7707 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009234/0.7532, allocations: 0.5367 MB / 0.7712 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.201e-06/0.7532, allocations: 7.391 kB / 0.7712 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008656/0.754, allocations: 406.8 kB / 0.7716 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001469/0.7555, allocations: 370.2 kB / 0.7719 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007186/0.7627, allocations: 6.326 MB / 0.7781 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004816/0.7632, allocations: 0.9356 MB / 0.779 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008776/0.764, allocations: 463.2 kB / 0.7795 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003868/0.7644, allocations: 286.6 kB / 0.7797 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of SimCode: time 6.51e-07/0.7644, allocations: 0 / 0.7797 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0572/0.8216, allocations: 24.64 MB / 0.8038 GB, free: 6.695 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/12.59, allocations: 3.984 kB / 0.8038 GB, free: 6.691 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 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.121174137995695]