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.Nitrogen.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.001258/0.001258, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001407/0.001407, allocations: 213.9 kB / 24.54 MB, free: 4.016 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.405/1.405, allocations: 230.5 MB / 258.2 MB, free: 8.062 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.2231/0.2231, allocations: 46.94 MB / 361.6 MB, free: 4.219 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.Nitrogen,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen",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.002418/0.002418, allocations: 75.88 kB / 0.497 GB, free: 7.777 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3103/0.3128, allocations: 66.09 MB / 0.5615 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.211/0.5238, allocations: 178 MB / 0.7354 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.3333/0.857, allocations: 5.366 MB / 0.7406 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005842/0.8576, allocations: 28.31 kB / 0.7407 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008313/0.8584, allocations: 323.2 kB / 0.741 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003328/0.8618, allocations: 1.369 MB / 0.7423 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002644/0.8644, allocations: 1.092 MB / 0.7434 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00208/0.8665, allocations: 1.876 MB / 0.7452 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005494/0.867, allocations: 398.7 kB / 0.7456 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002444/0.8695, allocations: 1.115 MB / 0.7467 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001245/0.8707, allocations: 0.802 MB / 0.7474 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001039/0.8708, allocations: 62.62 kB / 0.7475 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001366/0.8722, allocations: 0.6405 MB / 0.7481 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002298/0.8724, allocations: 267.3 kB / 0.7484 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003963/0.8728, allocations: 398.8 kB / 0.7488 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00149/0.8743, allocations: 1.306 MB / 0.75 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.8743, allocations: 2.125 kB / 0.75 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.443e-06/0.8743, allocations: 0.875 kB / 0.75 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.802e-05/0.8743, allocations: 0 / 0.75 GB, free: 1.59 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.002675/0.877, allocations: 1.052 MB / 0.7511 GB, free: 17.05 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.8771, allocations: 9.531 kB / 0.7511 GB, free: 17.05 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001498/0.8772, allocations: 96.38 kB / 0.7512 GB, free: 17.02 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001334/0.8785, allocations: 143.3 kB / 0.7513 GB, free: 16.97 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001118/0.8797, allocations: 474.2 kB / 0.7518 GB, free: 16.78 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001736/0.8798, allocations: 151.7 kB / 0.7519 GB, free: 16.65 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000133/0.88, allocations: 51 kB / 0.752 GB, free: 16.65 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001552/0.8815, allocations: 0.8158 MB / 0.7528 GB, free: 16.44 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.711e-05/0.8815, allocations: 5.656 kB / 0.7528 GB, free: 16.44 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.263e-05/0.8816, allocations: 27.86 kB / 0.7528 GB, free: 16.44 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.409e-05/0.8817, allocations: 37.81 kB / 0.7528 GB, free: 16.44 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001373/0.8831, allocations: 0.6194 MB / 0.7534 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.004752/0.8878, allocations: 3.897 MB / 0.7572 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005402/0.8884, allocations: 339.7 kB / 0.7576 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002355/0.8886, allocations: 160.6 kB / 0.7577 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.764e-05/0.8887, allocations: 22.06 kB / 0.7577 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.093e-05/0.8888, allocations: 37.97 kB / 0.7578 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 2.545e-06/0.8888, allocations: 0.9375 kB / 0.7578 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.005137/0.8939, allocations: 1.61 MB / 0.7593 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.894, allocations: 135.7 kB / 0.7595 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006524/0.8947, allocations: 0.6158 MB / 0.7601 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.169e-05/0.8947, allocations: 35.77 kB / 0.7601 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002237/0.8949, allocations: 378.3 kB / 0.7605 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.991e-05/0.895, allocations: 149.2 kB / 0.7606 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001872/0.8952, allocations: 157.2 kB / 0.7608 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000195/0.8954, allocations: 376.8 kB / 0.7611 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003423/0.8958, allocations: 202.9 kB / 0.7613 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000597/0.8964, allocations: 0.5108 MB / 0.7618 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008826/0.8972, allocations: 0.7545 MB / 0.7625 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.8972, allocations: 3.438 kB / 0.7626 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001232/0.8985, allocations: 0.8766 MB / 0.7634 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.8985, allocations: 13.11 kB / 0.7634 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.8985, allocations: 10.16 kB / 0.7634 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001269/0.8998, allocations: 317.5 kB / 0.7637 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000355/0.9001, allocations: 123.4 kB / 0.7638 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001051/0.9012, allocations: 0.9322 MB / 0.7648 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004873/0.9017, allocations: 24.34 kB / 0.7648 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.142e-05/0.9017, allocations: 66.14 kB / 0.7648 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.0003417/0.9021, allocations: 248.7 kB / 0.7651 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/0.9022, allocations: 68.2 kB / 0.7651 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001425/0.9036, allocations: 0.8714 MB / 0.766 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.381e-06/0.9036, allocations: 6.375 kB / 0.766 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.9036, allocations: 2.078 kB / 0.766 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.9036, allocations: 3 kB / 0.766 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001737/0.9054, allocations: 1.211 MB / 0.7672 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.9054, allocations: 5.984 kB / 0.7672 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009345/0.9063, allocations: 207.1 kB / 0.7674 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.049e-05/0.9064, allocations: 22.36 kB / 0.7674 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.78e-05/0.9064, allocations: 23.42 kB / 0.7674 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002194/0.9086, allocations: 2.673 MB / 0.7701 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.9086, allocations: 2.75 kB / 0.7701 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001186/0.9098, allocations: 0.8168 MB / 0.7709 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000305/0.9101, allocations: 117.4 kB / 0.771 GB, free: 7.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.183e-05/0.9102, allocations: 10.44 kB / 0.771 GB, free: 7.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003681/0.9106, allocations: 23.8 kB / 0.771 GB, free: 7.66 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.544e-05/0.9107, allocations: 43.02 kB / 0.771 GB, free: 7.656 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.806e-05/0.9107, allocations: 41.06 kB / 0.7711 GB, free: 7.656 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004996/0.9112, allocations: 439.4 kB / 0.7715 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.9112, allocations: 4.938 kB / 0.7715 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009671/0.9122, allocations: 256.7 kB / 0.7717 GB, free: 7.547 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.001994/0.9142, allocations: 1.546 MB / 0.7733 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001058/0.9153, allocations: 0.5321 MB / 0.7738 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/0.9153, allocations: 6.375 kB / 0.7738 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009647/0.9162, allocations: 402.2 kB / 0.7742 GB, free: 6.648 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001574/0.9178, allocations: 363.4 kB / 0.7745 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008433/0.9262, allocations: 6.333 MB / 0.7807 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005376/0.9268, allocations: 0.9343 MB / 0.7816 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001027/0.9278, allocations: 466.4 kB / 0.7821 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004029/0.9282, allocations: 282.7 kB / 0.7823 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of SimCode: time 1.313e-06/0.9282, allocations: 4 kB / 0.7823 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06903/0.9972, allocations: 24.97 MB / 0.8067 GB, free: 6.934 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.2/14.2, allocations: 11.5 kB / 0.8067 GB, free: 6.926 MB / 0.5919 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_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_Nitrogen.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.099435398820788] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.p', 'volume.medium.T'] 14.30844219122082 14.321583224 13.444463985 Calling exit ...