Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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.001352/0.001352, allocations: 110.5 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.001528/0.001528, allocations: 213.2 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.423/1.423, allocations: 230.5 MB / 258.2 MB, free: 8.02 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.2227/0.2227, allocations: 46.92 MB / 361.6 MB, free: 4.188 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.IdealGases.Air,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",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.002294/0.002294, allocations: 83.84 kB / 0.497 GB, free: 7.742 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3303/0.3326, allocations: 66.09 MB / 0.5615 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.2129/0.5455, allocations: 178.1 MB / 0.7354 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.3333/0.8788, allocations: 5.362 MB / 0.7407 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005245/0.8794, allocations: 28.28 kB / 0.7407 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000772/0.8801, allocations: 321.1 kB / 0.741 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002941/0.8831, allocations: 1.292 MB / 0.7423 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002202/0.8853, allocations: 0.9845 MB / 0.7432 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002115/0.8874, allocations: 1.884 MB / 0.7451 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005819/0.888, allocations: 393.7 kB / 0.7454 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002294/0.8903, allocations: 1.109 MB / 0.7465 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009511/0.8912, allocations: 0.7098 MB / 0.7472 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.691e-05/0.8913, allocations: 60.41 kB / 0.7473 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001329/0.8926, allocations: 0.6394 MB / 0.7479 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002285/0.8929, allocations: 267.9 kB / 0.7482 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000375/0.8932, allocations: 399.3 kB / 0.7485 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001483/0.8947, allocations: 1.313 MB / 0.7498 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.8947, allocations: 1.594 kB / 0.7498 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.613e-06/0.8947, allocations: 0 / 0.7498 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.003e-05/0.8947, allocations: 0.9375 kB / 0.7498 GB, free: 1.594 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.002164/0.8969, allocations: 1.048 MB / 0.7508 GB, free: 17.06 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.8969, allocations: 11.09 kB / 0.7509 GB, free: 17.06 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001178/0.8971, allocations: 98.34 kB / 0.751 GB, free: 17.02 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007836/0.8978, allocations: 141.6 kB / 0.7511 GB, free: 16.98 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008453/0.8987, allocations: 478.5 kB / 0.7515 GB, free: 16.78 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001464/0.8988, allocations: 155.7 kB / 0.7517 GB, free: 16.66 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.582e-05/0.8989, allocations: 45.84 kB / 0.7517 GB, free: 16.66 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001115/0.9, allocations: 0.8235 MB / 0.7525 GB, free: 16.44 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.244e-05/0.9001, allocations: 4.219 kB / 0.7525 GB, free: 16.44 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.715e-05/0.9001, allocations: 27.53 kB / 0.7526 GB, free: 16.44 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.807e-05/0.9002, allocations: 39.5 kB / 0.7526 GB, free: 16.44 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008989/0.9011, allocations: 0.6259 MB / 0.7532 GB, free: 16.43 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.004796/0.9059, allocations: 3.884 MB / 0.757 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006194/0.9065, allocations: 344.8 kB / 0.7573 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000274/0.9068, allocations: 158.6 kB / 0.7575 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001182/0.9069, allocations: 19.59 kB / 0.7575 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.907e-05/0.9069, allocations: 37.38 kB / 0.7575 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 2.505e-06/0.9069, allocations: 3.812 kB / 0.7575 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.005609/0.9125, allocations: 1.61 MB / 0.7591 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/0.9127, allocations: 135.9 kB / 0.7592 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007507/0.9134, allocations: 0.6166 MB / 0.7599 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.219e-05/0.9135, allocations: 31.95 kB / 0.7599 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002997/0.9138, allocations: 375.2 kB / 0.7602 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.469e-05/0.9139, allocations: 150.1 kB / 0.7604 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002095/0.9141, allocations: 156.8 kB / 0.7605 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001895/0.9143, allocations: 377.5 kB / 0.7609 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003072/0.9146, allocations: 204.2 kB / 0.7611 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000571/0.9151, allocations: 0.5134 MB / 0.7616 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009298/0.9161, allocations: 0.7519 MB / 0.7623 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.9161, allocations: 5.625 kB / 0.7623 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001298/0.9174, allocations: 0.8779 MB / 0.7632 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.9174, allocations: 8.219 kB / 0.7632 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.9174, allocations: 10.31 kB / 0.7632 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001296/0.9187, allocations: 315.3 kB / 0.7635 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000368/0.9191, allocations: 122.2 kB / 0.7636 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001121/0.9202, allocations: 0.9323 MB / 0.7645 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005351/0.9207, allocations: 28.62 kB / 0.7646 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-05/0.9208, allocations: 66 kB / 0.7646 GB, free: 11.04 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.000394/0.9212, allocations: 247.3 kB / 0.7649 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001239/0.9213, allocations: 72.03 kB / 0.7649 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001478/0.9228, allocations: 0.8702 MB / 0.7658 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-06/0.9228, allocations: 2.375 kB / 0.7658 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.9228, allocations: 3.5 kB / 0.7658 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.9228, allocations: 2.766 kB / 0.7658 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001835/0.9247, allocations: 1.206 MB / 0.767 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.9247, allocations: 2.125 kB / 0.767 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009547/0.9256, allocations: 211.7 kB / 0.7672 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.607e-05/0.9257, allocations: 23.08 kB / 0.7672 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.722e-05/0.9257, allocations: 19.06 kB / 0.7672 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002396/0.9281, allocations: 2.682 MB / 0.7698 GB, free: 7.938 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.9281, allocations: 7 kB / 0.7698 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001094/0.9292, allocations: 0.8121 MB / 0.7706 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002553/0.9295, allocations: 127 kB / 0.7707 GB, free: 7.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.1e-05/0.9296, allocations: 9.781 kB / 0.7708 GB, free: 7.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003793/0.93, allocations: 15.14 kB / 0.7708 GB, free: 7.66 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.88e-05/0.93, allocations: 41.02 kB / 0.7708 GB, free: 7.66 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.377e-05/0.9301, allocations: 44.48 kB / 0.7709 GB, free: 7.66 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004504/0.9305, allocations: 440.7 kB / 0.7713 GB, free: 7.57 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.9305, allocations: 0 / 0.7713 GB, free: 7.57 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008279/0.9314, allocations: 255.8 kB / 0.7715 GB, free: 7.555 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.001912/0.9333, allocations: 1.544 MB / 0.773 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001064/0.9344, allocations: 0.5364 MB / 0.7735 GB, free: 6.766 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.9344, allocations: 1 kB / 0.7735 GB, free: 6.766 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008984/0.9353, allocations: 405.9 kB / 0.7739 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001456/0.9367, allocations: 371.6 kB / 0.7743 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007879/0.9446, allocations: 6.338 MB / 0.7805 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005555/0.9451, allocations: 0.9279 MB / 0.7814 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009902/0.9461, allocations: 460 kB / 0.7818 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004056/0.9465, allocations: 293.1 kB / 0.7821 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of SimCode: time 4.71e-07/0.9465, allocations: 3.188 kB / 0.7821 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0623/1.009, allocations: 24.97 MB / 0.8065 GB, free: 7.016 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.24/14.25, allocations: 8 kB / 0.8065 GB, free: 7.008 MB / 0.5919 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_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_IdealGases_Air.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.184960830025375] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.p', 'volume.medium.T'] 14.358118213713169 14.379897867 13.48097456 Calling exit ...