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.SimpleNaturalGas.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.001775/0.001775, 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.002249/0.002249, 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.454/1.454, allocations: 230.5 MB / 258.2 MB, free: 7.996 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.2708/0.2708, allocations: 46.93 MB / 361.6 MB, free: 4.176 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.SimpleNaturalGas,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGas",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGas",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.002567/0.002567, allocations: 80.16 kB / 0.497 GB, free: 7.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.328/0.3306, allocations: 66.08 MB / 0.5615 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.5443/0.8749, allocations: 180.8 MB / 0.7381 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00786/0.8827, allocations: 6.551 MB / 0.7445 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005893/0.8833, allocations: 29.12 kB / 0.7445 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001034/0.8844, allocations: 447.1 kB / 0.745 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003752/0.8881, allocations: 1.816 MB / 0.7467 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003446/0.8916, allocations: 1.562 MB / 0.7483 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002375/0.8939, allocations: 2.266 MB / 0.7505 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009004/0.8948, allocations: 0.5892 MB / 0.7511 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003609/0.8984, allocations: 1.839 MB / 0.7529 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002631/0.9011, allocations: 1.689 MB / 0.7545 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002222/0.9013, allocations: 98.75 kB / 0.7546 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002681/0.904, allocations: 1.406 MB / 0.756 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005888/0.9046, allocations: 0.6936 MB / 0.7567 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0008517/0.9054, allocations: 0.7588 MB / 0.7574 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003143/0.9086, allocations: 2.631 MB / 0.76 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.9086, allocations: 0 / 0.76 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.883e-06/0.9086, allocations: 2.172 kB / 0.76 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.842e-05/0.9086, allocations: 0 / 0.76 GB, free: 1.453 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: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.004178/0.9128, allocations: 1.671 MB / 0.7616 GB, free: 16.73 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.713e-05/0.9128, allocations: 7.969 kB / 0.7616 GB, free: 16.73 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002399/0.9131, allocations: 175.6 kB / 0.7618 GB, free: 16.69 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001515/0.9146, allocations: 316.8 kB / 0.7621 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00136/0.916, allocations: 0.7148 MB / 0.7628 GB, free: 16.39 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001665/0.9161, allocations: 191.8 kB / 0.763 GB, free: 16.26 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001643/0.9163, allocations: 101.2 kB / 0.7631 GB, free: 16.26 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002532/0.9188, allocations: 1.84 MB / 0.7648 GB, free: 16.06 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.56e-05/0.9189, allocations: 10.12 kB / 0.7649 GB, free: 16.06 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001354/0.919, allocations: 53.08 kB / 0.7649 GB, free: 16.05 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001118/0.9191, allocations: 95.12 kB / 0.765 GB, free: 16.05 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00231/0.9214, allocations: 1.694 MB / 0.7667 GB, free: 16.04 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.009356/0.9308, allocations: 6.58 MB / 0.7731 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001215/0.932, allocations: 0.8498 MB / 0.7739 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005764/0.9326, allocations: 435.9 kB / 0.7743 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001189/0.9327, allocations: 28.84 kB / 0.7744 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.578e-05/0.9327, allocations: 49.31 kB / 0.7744 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=60): time 2.695e-06/0.9327, allocations: 0 / 0.7744 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of matching and sorting (n=72): time 0.01027/0.943, allocations: 4.045 MB / 0.7784 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.716e-05/0.9431, allocations: 110.8 kB / 0.7785 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001276/0.9444, allocations: 1.113 MB / 0.7795 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.000137/0.9445, allocations: 42.58 kB / 0.7796 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003668/0.9449, allocations: 0.5317 MB / 0.7801 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002337/0.9451, allocations: 274 kB / 0.7804 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003134/0.9454, allocations: 213.7 kB / 0.7806 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.9456, allocations: 342.6 kB / 0.7809 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007732/0.9463, allocations: 0.5831 MB / 0.7815 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001054/0.9474, allocations: 0.876 MB / 0.7823 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001841/0.9492, allocations: 1.448 MB / 0.7837 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.678e-06/0.9492, allocations: 0 / 0.7837 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002904/0.9521, allocations: 1.982 MB / 0.7857 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.9522, allocations: 13.06 kB / 0.7857 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-05/0.9522, allocations: 12.33 kB / 0.7857 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00454/0.9567, allocations: 1.352 MB / 0.787 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000684/0.9574, allocations: 152 kB / 0.7872 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002802/0.9602, allocations: 1.922 MB / 0.789 GB, free: 9.711 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001134/0.9613, allocations: 44.92 kB / 0.7891 GB, free: 9.711 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001356/0.9615, allocations: 72.75 kB / 0.7891 GB, free: 9.707 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (82): * Single equations (assignments): 81 * 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 {(9,35)} Notification: Performance of prepare postOptimizeDAE: time 0.000849/0.9623, allocations: 395 kB / 0.7895 GB, free: 9.586 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002908/0.9626, allocations: 114.2 kB / 0.7896 GB, free: 9.531 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002505/0.9651, allocations: 1.493 MB / 0.7911 GB, free: 9.449 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-05/0.9651, allocations: 13.19 kB / 0.7911 GB, free: 9.445 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.9651, allocations: 3.094 kB / 0.7911 GB, free: 9.445 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.317e-06/0.9651, allocations: 2.828 kB / 0.7911 GB, free: 9.445 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003909/0.9691, allocations: 2.663 MB / 0.7937 GB, free: 9.125 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.9691, allocations: 1.031 kB / 0.7937 GB, free: 9.125 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001759/0.9708, allocations: 324.3 kB / 0.794 GB, free: 9.125 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001798/0.971, allocations: 70.5 kB / 0.7941 GB, free: 9.117 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.723e-05/0.9711, allocations: 39.38 kB / 0.7941 GB, free: 9.113 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002689/0.9738, allocations: 2.832 MB / 0.7969 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.9738, allocations: 0 / 0.7969 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002746/0.9765, allocations: 1.911 MB / 0.7988 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007365/0.9772, allocations: 263 kB / 0.799 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001945/0.9774, allocations: 34.33 kB / 0.799 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008392/0.9783, allocations: 44.53 kB / 0.7991 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001667/0.9784, allocations: 69.03 kB / 0.7992 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001054/0.9786, allocations: 61.14 kB / 0.7992 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009983/0.9796, allocations: 0.798 MB / 0.8 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.9796, allocations: 0 / 0.8 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001286/0.9808, allocations: 481 kB / 0.8004 GB, free: 5.996 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (volume.medium.p,volume.medium.Xi[1],volume.medium.Xi[2],volume.medium.Xi[3],volume.medium.Xi[4],volume.medium.Xi[5],volume.medium.Xi[6],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 (78): * Single equations (assignments): 76 * 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.004835/0.9857, allocations: 3.11 MB / 0.8035 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002657/0.9883, allocations: 1.417 MB / 0.8049 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.9883, allocations: 5.594 kB / 0.8049 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001635/0.99, allocations: 0.8455 MB / 0.8057 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003108/0.9931, allocations: 0.761 MB / 0.8064 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01992/1.013, allocations: 12.93 MB / 0.8191 GB, free: 4.301 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009451/1.014, allocations: 1.181 MB / 0.8202 GB, free: 3.086 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001628/1.016, allocations: 485.5 kB / 0.8207 GB, free: 2.613 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007437/1.016, allocations: 447.3 kB / 0.8211 GB, free: 2.176 MB / 0.5919 GB Notification: Performance of SimCode: time 1.072e-06/1.016, allocations: 0 / 0.8211 GB, free: 2.176 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.139/1.155, allocations: 51.75 MB / 0.8716 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.44/15.6, allocations: 19.55 kB / 0.8717 GB, free: 14.71 MB / 0.6544 GB " [Timeout remaining time 644] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas_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_SimpleNaturalGas.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.59067827509716] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.p', 'volume.medium.T', 'volume.medium.X[1]', 'volume.medium.X[2]', 'volume.medium.X[3]', 'volume.medium.X[4]', 'volume.medium.X[5]', 'volume.medium.X[6]'] 15.72364236228168 15.748013211 14.834805407 Calling exit ...