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.001407/0.001407, allocations: 105.8 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.001516/0.001516, allocations: 220.5 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.321/1.321, allocations: 230.2 MB / 256.2 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.2005/0.2005, allocations: 46.89 MB / 359.3 MB, free: 4.992 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.002163/0.002163, allocations: 83.86 kB / 0.494 GB, free: 9.098 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2672/0.2693, allocations: 65.99 MB / 0.5584 GB, free: 5.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.1917/0.461, allocations: 178.1 MB / 0.7323 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.2625/0.7235, allocations: 5.364 MB / 0.7376 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004996/0.724, allocations: 21.19 kB / 0.7376 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007574/0.7248, allocations: 326.5 kB / 0.7379 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002821/0.7276, allocations: 1.268 MB / 0.7391 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002172/0.7298, allocations: 0.9788 MB / 0.7401 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00179/0.7316, allocations: 1.861 MB / 0.7419 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004542/0.732, allocations: 394.2 kB / 0.7423 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001676/0.7337, allocations: 1.102 MB / 0.7434 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007195/0.7344, allocations: 0.6977 MB / 0.744 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.543e-05/0.7345, allocations: 59.31 kB / 0.7441 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001121/0.7356, allocations: 0.638 MB / 0.7447 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002147/0.7358, allocations: 271.3 kB / 0.745 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003274/0.7362, allocations: 401 kB / 0.7454 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001239/0.7374, allocations: 1.309 MB / 0.7466 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.7374, allocations: 0 / 0.7466 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.984e-06/0.7374, allocations: 8.281 kB / 0.7466 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.047e-06/0.7374, allocations: 0 / 0.7466 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.00192/0.7393, allocations: 1.125 MB / 0.7477 GB, free: 16.96 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.7394, allocations: 10.28 kB / 0.7477 GB, free: 16.96 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001116/0.7395, allocations: 98.17 kB / 0.7478 GB, free: 16.92 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007112/0.7402, allocations: 137.6 kB / 0.748 GB, free: 16.88 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006753/0.7409, allocations: 0.5361 MB / 0.7485 GB, free: 16.61 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.712e-05/0.741, allocations: 101.6 kB / 0.7486 GB, free: 16.55 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.658e-05/0.7411, allocations: 50.34 kB / 0.7486 GB, free: 16.55 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009631/0.742, allocations: 0.8215 MB / 0.7494 GB, free: 16.34 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.077e-05/0.742, allocations: 3.328 kB / 0.7494 GB, free: 16.34 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.037e-05/0.7421, allocations: 25.72 kB / 0.7495 GB, free: 16.34 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.443e-05/0.7422, allocations: 40.84 kB / 0.7495 GB, free: 16.34 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008179/0.743, allocations: 0.6151 MB / 0.7501 GB, free: 16.34 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.003831/0.7468, allocations: 3.948 MB / 0.754 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004617/0.7473, allocations: 339.6 kB / 0.7543 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002236/0.7475, allocations: 166.5 kB / 0.7544 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001171/0.7476, allocations: 91.39 kB / 0.7545 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.7476, allocations: 42.28 kB / 0.7546 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 1.723e-06/0.7476, allocations: 0 / 0.7546 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.005023/0.7527, allocations: 1.688 MB / 0.7562 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.48e-05/0.7528, allocations: 134.5 kB / 0.7564 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000549/0.7533, allocations: 0.6105 MB / 0.7569 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.959e-05/0.7534, allocations: 38.27 kB / 0.757 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001849/0.7535, allocations: 376.5 kB / 0.7573 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.303e-05/0.7536, allocations: 150 kB / 0.7575 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000179/0.7538, allocations: 160.7 kB / 0.7576 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.754, allocations: 375.1 kB / 0.758 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002948/0.7542, allocations: 207.7 kB / 0.7582 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005149/0.7548, allocations: 0.5118 MB / 0.7587 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008469/0.7556, allocations: 0.7476 MB / 0.7594 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.798e-06/0.7556, allocations: 3.719 kB / 0.7594 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001195/0.7568, allocations: 0.8823 MB / 0.7603 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.781e-05/0.7568, allocations: 11.53 kB / 0.7603 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.7568, allocations: 13.25 kB / 0.7603 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001245/0.7581, allocations: 312.6 kB / 0.7606 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003719/0.7585, allocations: 123.9 kB / 0.7607 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0011/0.7596, allocations: 0.9267 MB / 0.7616 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004812/0.76, allocations: 36.94 kB / 0.7617 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.226e-05/0.7601, allocations: 66.97 kB / 0.7617 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.0003188/0.7604, allocations: 240.8 kB / 0.762 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/0.7606, allocations: 70.95 kB / 0.762 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00132/0.7619, allocations: 0.8633 MB / 0.7629 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.906e-06/0.7619, allocations: 15.92 kB / 0.7629 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.7619, allocations: 0 / 0.7629 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.7619, allocations: 3 kB / 0.7629 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001676/0.7636, allocations: 1.453 MB / 0.7643 GB, free: 9.812 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.7636, allocations: 0 / 0.7643 GB, free: 9.812 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000932/0.7645, allocations: 211.9 kB / 0.7645 GB, free: 9.812 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.41e-05/0.7646, allocations: 28.64 kB / 0.7645 GB, free: 9.805 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.487e-05/0.7646, allocations: 20.28 kB / 0.7646 GB, free: 9.805 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002011/0.7666, allocations: 2.881 MB / 0.7674 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.7666, allocations: 8.406 kB / 0.7674 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001029/0.7677, allocations: 0.8181 MB / 0.7682 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00023/0.7679, allocations: 188.1 kB / 0.7684 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.85e-05/0.768, allocations: 15.69 kB / 0.7684 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003665/0.7684, allocations: 19.7 kB / 0.7684 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.424e-05/0.7684, allocations: 40.75 kB / 0.7684 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.347e-05/0.7685, allocations: 43.92 kB / 0.7685 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004207/0.7689, allocations: 440.3 kB / 0.7689 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7689, allocations: 0.875 kB / 0.7689 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008032/0.7697, allocations: 257.8 kB / 0.7691 GB, free: 6.57 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.001877/0.7716, allocations: 1.56 MB / 0.7707 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009355/0.7725, allocations: 0.5341 MB / 0.7712 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/0.7725, allocations: 6.641 kB / 0.7712 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008784/0.7734, allocations: 408.9 kB / 0.7716 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001462/0.7749, allocations: 379.6 kB / 0.7719 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007215/0.7821, allocations: 6.326 MB / 0.7781 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000465/0.7825, allocations: 0.9346 MB / 0.779 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008718/0.7834, allocations: 464.1 kB / 0.7795 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003853/0.7838, allocations: 282 kB / 0.7797 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of SimCode: time 7.61e-07/0.7838, allocations: 0 / 0.7797 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05603/0.8398, allocations: 24.62 MB / 0.8038 GB, free: 6.637 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/12.62, allocations: 17.48 kB / 0.8038 GB, free: 6.621 MB / 0.5919 GB " [Timeout remaining time 647] (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: 15.17402939000749]