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.001577/0.001577, allocations: 122.5 kB / 18.51 MB, free: 4.539 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.001841/0.001841, allocations: 215.2 kB / 21.46 MB, free: 1.59 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.528/1.528, allocations: 230.4 MB / 254.7 MB, free: 15.16 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.2389/0.2389, allocations: 46.93 MB / 357.7 MB, free: 10.22 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.002319/0.002319, allocations: 79.88 kB / 0.4917 GB, free: 7.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1431, allocations: 66.03 MB / 0.5562 GB, free: 5.574 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.5792/0.7223, allocations: 177.8 MB / 0.7298 GB, free: 15.21 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.009444/0.7318, allocations: 5.346 MB / 0.735 GB, free: 9.844 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008335/0.7326, allocations: 27.75 kB / 0.7351 GB, free: 9.816 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001128/0.7337, allocations: 318 kB / 0.7354 GB, free: 9.504 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004484/0.7382, allocations: 1.369 MB / 0.7367 GB, free: 8.133 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003162/0.7414, allocations: 1.058 MB / 0.7377 GB, free: 7.086 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002762/0.7441, allocations: 1.856 MB / 0.7396 GB, free: 5.223 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006903/0.7448, allocations: 405.4 kB / 0.7399 GB, free: 4.824 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00252/0.7474, allocations: 1.117 MB / 0.741 GB, free: 3.703 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001292/0.7486, allocations: 0.7939 MB / 0.7418 GB, free: 2.906 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001091/0.7488, allocations: 60 kB / 0.7419 GB, free: 2.848 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001457/0.7502, allocations: 0.632 MB / 0.7425 GB, free: 2.215 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002894/0.7505, allocations: 271.2 kB / 0.7427 GB, free: 1.949 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004157/0.7509, allocations: 390.2 kB / 0.7431 GB, free: 1.566 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001798/0.7527, allocations: 1.316 MB / 0.7444 GB, free: 252 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.7527, allocations: 0 / 0.7444 GB, free: 252 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.442e-06/0.7527, allocations: 0 / 0.7444 GB, free: 252 kB / 0.545 GB Notification: Performance of Transformations before backend: time 1.119e-05/0.7527, allocations: 0 / 0.7444 GB, free: 252 kB / 0.545 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.002379/0.7551, allocations: 1.117 MB / 0.7455 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.7552, allocations: 12.03 kB / 0.7455 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001372/0.7553, allocations: 98.52 kB / 0.7456 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008348/0.7561, allocations: 139.4 kB / 0.7457 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008959/0.757, allocations: 0.5357 MB / 0.7463 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001212/0.7571, allocations: 104.3 kB / 0.7464 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/0.7572, allocations: 48 kB / 0.7464 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001311/0.7586, allocations: 0.8097 MB / 0.7472 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/0.7586, allocations: 7.938 kB / 0.7472 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-05/0.7586, allocations: 20 kB / 0.7472 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-05/0.7587, allocations: 44.91 kB / 0.7473 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001078/0.7598, allocations: 0.6243 MB / 0.7479 GB, free: 12.51 MB / 0.5606 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.004623/0.7644, allocations: 3.93 MB / 0.7517 GB, free: 8.336 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006114/0.765, allocations: 340.2 kB / 0.752 GB, free: 7.996 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002908/0.7653, allocations: 165.2 kB / 0.7522 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000135/0.7654, allocations: 97.36 kB / 0.7523 GB, free: 7.719 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.7655, allocations: 42.47 kB / 0.7523 GB, free: 7.672 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.114e-06/0.7655, allocations: 0 / 0.7523 GB, free: 7.672 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005872/0.7713, allocations: 1.674 MB / 0.754 GB, free: 5.93 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.553e-05/0.7714, allocations: 140.4 kB / 0.7541 GB, free: 5.762 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007509/0.7722, allocations: 0.6172 MB / 0.7547 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.4e-05/0.7722, allocations: 33.7 kB / 0.7547 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002977/0.7725, allocations: 375.8 kB / 0.7551 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000139/0.7727, allocations: 158.7 kB / 0.7552 GB, free: 4.566 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002482/0.7729, allocations: 154.6 kB / 0.7554 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001882/0.7731, allocations: 374.8 kB / 0.7557 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000381/0.7735, allocations: 201.9 kB / 0.7559 GB, free: 3.836 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006778/0.7742, allocations: 0.5125 MB / 0.7564 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001099/0.7753, allocations: 0.7516 MB / 0.7572 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.7753, allocations: 4 kB / 0.7572 GB, free: 2.277 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001631/0.7769, allocations: 0.8799 MB / 0.758 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.7769, allocations: 8 kB / 0.758 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.832e-05/0.777, allocations: 12 kB / 0.758 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001457/0.7784, allocations: 315.7 kB / 0.7583 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004025/0.7788, allocations: 135.7 kB / 0.7585 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00122/0.78, allocations: 0.9271 MB / 0.7594 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004978/0.7805, allocations: 27.98 kB / 0.7594 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/0.7806, allocations: 68 kB / 0.7595 GB, free: 15.88 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.0004082/0.7811, allocations: 257.4 kB / 0.7597 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001409/0.7812, allocations: 71.58 kB / 0.7598 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001734/0.7829, allocations: 0.8508 MB / 0.7606 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.7829, allocations: 8 kB / 0.7606 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.7829, allocations: 0 / 0.7606 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.783, allocations: 3.984 kB / 0.7606 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002263/0.7852, allocations: 1.464 MB / 0.7621 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.7852, allocations: 4 kB / 0.7621 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001085/0.7863, allocations: 208.4 kB / 0.7623 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.789e-05/0.7864, allocations: 24.84 kB / 0.7623 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.625e-05/0.7865, allocations: 20 kB / 0.7623 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002428/0.7889, allocations: 2.883 MB / 0.7651 GB, free: 9.652 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.7889, allocations: 4.031 kB / 0.7651 GB, free: 9.648 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001384/0.7903, allocations: 0.8235 MB / 0.7659 GB, free: 8.789 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003274/0.7906, allocations: 192.7 kB / 0.7661 GB, free: 8.582 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.361e-05/0.7907, allocations: 8 kB / 0.7661 GB, free: 8.574 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003787/0.7911, allocations: 15.98 kB / 0.7661 GB, free: 8.559 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.7912, allocations: 47.83 kB / 0.7662 GB, free: 8.512 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.054e-05/0.7912, allocations: 43.98 kB / 0.7662 GB, free: 8.469 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005761/0.7918, allocations: 443.1 kB / 0.7666 GB, free: 8.043 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.7918, allocations: 0 / 0.7666 GB, free: 8.043 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001004/0.7928, allocations: 247.8 kB / 0.7669 GB, free: 7.801 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.002304/0.7951, allocations: 1.546 MB / 0.7684 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00129/0.7964, allocations: 0.5341 MB / 0.7689 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.5e-05/0.7964, allocations: 4 kB / 0.7689 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001033/0.7975, allocations: 403.7 kB / 0.7693 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00165/0.7991, allocations: 373.8 kB / 0.7697 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00931/0.8084, allocations: 6.33 MB / 0.7758 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006697/0.8091, allocations: 0.9337 MB / 0.7768 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001118/0.8102, allocations: 454.4 kB / 0.7772 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005304/0.8107, allocations: 292.8 kB / 0.7775 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of SimCode: time 1.302e-06/0.8107, allocations: 0 / 0.7775 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06514/0.8759, allocations: 24.48 MB / 0.8014 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.88/13.75, allocations: 10.62 kB / 0.8014 GB, free: 4.27 MB / 0.6075 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.02284370083362] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.p', 'volume.medium.T'] 13.865227432921529 13.887654503 13.130921287 Calling exit ...