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.001799/0.001799, allocations: 109 kB / 21.23 MB, free: 0.6641 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.002091/0.002091, allocations: 213.9 kB / 24.54 MB, free: 4.02 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.422/1.422, allocations: 230.5 MB / 258.2 MB, free: 8.012 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.2405/0.2405, allocations: 46.93 MB / 361.6 MB, free: 4.203 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.002279/0.002279, allocations: 79.86 kB / 0.497 GB, free: 7.754 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3342/0.3365, allocations: 66.08 MB / 0.5615 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.2058/0.5423, allocations: 178.1 MB / 0.7354 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.3152/0.8575, allocations: 5.361 MB / 0.7407 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006836/0.8582, allocations: 27.31 kB / 0.7407 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008637/0.8591, allocations: 321.5 kB / 0.741 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003266/0.8623, allocations: 1.292 MB / 0.7423 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002626/0.8649, allocations: 0.9839 MB / 0.7432 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002463/0.8674, allocations: 1.876 MB / 0.7451 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005574/0.868, allocations: 399.2 kB / 0.7454 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002202/0.8702, allocations: 1.112 MB / 0.7465 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009474/0.8711, allocations: 0.7108 MB / 0.7472 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.752e-05/0.8712, allocations: 59.44 kB / 0.7473 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001326/0.8725, allocations: 0.6421 MB / 0.7479 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000245/0.8728, allocations: 270.2 kB / 0.7482 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003812/0.8732, allocations: 399.1 kB / 0.7485 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001437/0.8746, allocations: 1.308 MB / 0.7498 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.8746, allocations: 3.406 kB / 0.7498 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.382e-06/0.8746, allocations: 0.9062 kB / 0.7498 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.699e-05/0.8746, allocations: 1.203 kB / 0.7498 GB, free: 1.562 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.00204/0.8767, allocations: 1.045 MB / 0.7508 GB, free: 17.03 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.8767, allocations: 9.75 kB / 0.7509 GB, free: 17.03 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001083/0.8768, allocations: 102.6 kB / 0.751 GB, free: 16.99 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000761/0.8776, allocations: 139 kB / 0.7511 GB, free: 16.95 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007446/0.8783, allocations: 481.5 kB / 0.7515 GB, free: 16.75 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001325/0.8785, allocations: 155.1 kB / 0.7517 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.692e-05/0.8785, allocations: 49.62 kB / 0.7517 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001062/0.8796, allocations: 0.8108 MB / 0.7525 GB, free: 16.41 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.203e-05/0.8796, allocations: 4.656 kB / 0.7525 GB, free: 16.41 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.607e-05/0.8797, allocations: 28.61 kB / 0.7526 GB, free: 16.41 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.066e-05/0.8797, allocations: 40.56 kB / 0.7526 GB, free: 16.41 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008692/0.8806, allocations: 0.6153 MB / 0.7532 GB, free: 16.41 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.004277/0.8849, allocations: 3.898 MB / 0.757 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005308/0.8854, allocations: 341.2 kB / 0.7573 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002431/0.8857, allocations: 158.6 kB / 0.7575 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.726e-05/0.8858, allocations: 27.47 kB / 0.7575 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.018e-05/0.8858, allocations: 39.38 kB / 0.7576 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 2.354e-06/0.8858, allocations: 0.8438 kB / 0.7576 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.005153/0.891, allocations: 1.588 MB / 0.7591 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.778e-05/0.891, allocations: 137.1 kB / 0.7592 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005908/0.8916, allocations: 0.6158 MB / 0.7598 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.888e-05/0.8917, allocations: 36.14 kB / 0.7599 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001975/0.8919, allocations: 376.9 kB / 0.7602 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.466e-05/0.892, allocations: 150.7 kB / 0.7604 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001818/0.8922, allocations: 155.7 kB / 0.7605 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000182/0.8923, allocations: 382.8 kB / 0.7609 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003091/0.8927, allocations: 202.4 kB / 0.7611 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006013/0.8933, allocations: 0.5145 MB / 0.7616 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009746/0.8942, allocations: 0.7534 MB / 0.7623 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.8942, allocations: 2.094 kB / 0.7623 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001375/0.8956, allocations: 0.8761 MB / 0.7632 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.606e-05/0.8956, allocations: 12.97 kB / 0.7632 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.384e-05/0.8956, allocations: 9.656 kB / 0.7632 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001322/0.897, allocations: 328.7 kB / 0.7635 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003706/0.8973, allocations: 123 kB / 0.7636 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00108/0.8984, allocations: 0.9325 MB / 0.7645 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005208/0.8989, allocations: 31.05 kB / 0.7646 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.721e-05/0.899, allocations: 65.78 kB / 0.7646 GB, free: 11.02 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.0004044/0.8994, allocations: 243.5 kB / 0.7649 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001279/0.8996, allocations: 71.86 kB / 0.7649 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001527/0.9011, allocations: 0.8623 MB / 0.7658 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.9011, allocations: 3.875 kB / 0.7658 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.9011, allocations: 7.484 kB / 0.7658 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-06/0.9011, allocations: 0 / 0.7658 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001938/0.903, allocations: 1.207 MB / 0.767 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.903, allocations: 2.25 kB / 0.767 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009955/0.904, allocations: 212.5 kB / 0.7672 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.079e-05/0.9041, allocations: 26.2 kB / 0.7672 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.615e-05/0.9042, allocations: 21.41 kB / 0.7672 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002121/0.9063, allocations: 2.676 MB / 0.7698 GB, free: 7.914 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.9063, allocations: 3.375 kB / 0.7698 GB, free: 7.914 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001093/0.9074, allocations: 0.8144 MB / 0.7706 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002861/0.9077, allocations: 120.5 kB / 0.7707 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.093e-05/0.9078, allocations: 9.094 kB / 0.7707 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003629/0.9081, allocations: 16.89 kB / 0.7708 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.269e-05/0.9082, allocations: 45.56 kB / 0.7708 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.533e-05/0.9083, allocations: 43.53 kB / 0.7708 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000503/0.9088, allocations: 439.1 kB / 0.7713 GB, free: 7.551 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.9088, allocations: 0.8438 kB / 0.7713 GB, free: 7.551 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000862/0.9096, allocations: 259.9 kB / 0.7715 GB, free: 7.535 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.001989/0.9116, allocations: 1.549 MB / 0.773 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001029/0.9127, allocations: 0.5337 MB / 0.7736 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.9127, allocations: 2.812 kB / 0.7736 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008998/0.9136, allocations: 407 kB / 0.7739 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001389/0.9149, allocations: 375.4 kB / 0.7743 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007764/0.9227, allocations: 6.33 MB / 0.7805 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005339/0.9232, allocations: 0.9348 MB / 0.7814 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009881/0.9242, allocations: 456.8 kB / 0.7818 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004023/0.9246, allocations: 283.2 kB / 0.7821 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of SimCode: time 1.422e-06/0.9246, allocations: 0 / 0.7821 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0595/0.9841, allocations: 24.97 MB / 0.8065 GB, free: 7 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.23/14.21, allocations: 3.938 kB / 0.8065 GB, free: 6.996 MB / 0.5919 GB " [Timeout remaining time 646] (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: 17.227450024802238] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.p', 'volume.medium.T'] 14.32064401684329 14.341359808 13.462646091 Calling exit ...