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.001627/0.001627, allocations: 117.8 kB / 18.5 MB, free: 4.434 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.001994/0.001994, allocations: 216.9 kB / 21.47 MB, free: 1.473 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.467/1.467, allocations: 230.2 MB / 254.5 MB, free: 15.39 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.2316/0.2316, allocations: 46.89 MB / 357.4 MB, free: 10.52 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.003112/0.003112, allocations: 83.86 kB / 0.4912 GB, free: 8.535 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1837/0.1868, allocations: 65.99 MB / 0.5557 GB, free: 6.418 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.5862/0.773, allocations: 177.8 MB / 0.7293 GB, free: 148 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.008407/0.7814, allocations: 5.354 MB / 0.7345 GB, free: 10.77 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00073/0.7821, allocations: 19.88 kB / 0.7346 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001016/0.7831, allocations: 321.9 kB / 0.7349 GB, free: 10.43 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005165/0.7883, allocations: 1.364 MB / 0.7362 GB, free: 9.07 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003036/0.7913, allocations: 1.058 MB / 0.7372 GB, free: 8.02 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002618/0.794, allocations: 1.864 MB / 0.7391 GB, free: 6.148 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007108/0.7947, allocations: 417.4 kB / 0.7395 GB, free: 5.738 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002584/0.7973, allocations: 1.102 MB / 0.7405 GB, free: 4.633 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001455/0.7987, allocations: 0.79 MB / 0.7413 GB, free: 3.84 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001354/0.7988, allocations: 60 kB / 0.7414 GB, free: 3.781 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001546/0.8004, allocations: 0.6359 MB / 0.742 GB, free: 3.145 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003573/0.8007, allocations: 279.1 kB / 0.7422 GB, free: 2.871 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005064/0.8013, allocations: 390.2 kB / 0.7426 GB, free: 2.488 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002041/0.8033, allocations: 1.308 MB / 0.7439 GB, free: 1.176 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.8033, allocations: 7.938 kB / 0.7439 GB, free: 1.168 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.122e-06/0.8033, allocations: 4 kB / 0.7439 GB, free: 1.164 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.72e-05/0.8033, allocations: 0 / 0.7439 GB, free: 1.164 MB / 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.002363/0.8057, allocations: 1.121 MB / 0.745 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.8057, allocations: 8.031 kB / 0.745 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001338/0.8059, allocations: 98.52 kB / 0.7451 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008272/0.8067, allocations: 148.3 kB / 0.7452 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001006/0.8077, allocations: 0.5279 MB / 0.7458 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001221/0.8078, allocations: 104.3 kB / 0.7459 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/0.8079, allocations: 48 kB / 0.7459 GB, free: 15 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001309/0.8092, allocations: 0.8163 MB / 0.7467 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.005e-05/0.8092, allocations: 4 kB / 0.7467 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.168e-05/0.8093, allocations: 23.98 kB / 0.7467 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.487e-05/0.8094, allocations: 44.92 kB / 0.7468 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001066/0.8104, allocations: 0.6243 MB / 0.7474 GB, free: 13.41 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.004986/0.8154, allocations: 3.947 MB / 0.7512 GB, free: 9.23 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00061/0.816, allocations: 329.9 kB / 0.7515 GB, free: 8.902 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002841/0.8163, allocations: 169.2 kB / 0.7517 GB, free: 8.734 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001433/0.8165, allocations: 93.38 kB / 0.7518 GB, free: 8.625 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.689e-05/0.8165, allocations: 38.84 kB / 0.7518 GB, free: 8.578 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.144e-06/0.8165, allocations: 4 kB / 0.7518 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005495/0.822, allocations: 1.681 MB / 0.7535 GB, free: 6.828 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.526e-05/0.8221, allocations: 148.4 kB / 0.7536 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007547/0.8229, allocations: 0.6133 MB / 0.7542 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.076e-05/0.8229, allocations: 37.7 kB / 0.7543 GB, free: 5.984 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002926/0.8232, allocations: 367.8 kB / 0.7546 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000139/0.8233, allocations: 154.7 kB / 0.7548 GB, free: 5.469 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002204/0.8236, allocations: 162.5 kB / 0.7549 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002052/0.8238, allocations: 374.8 kB / 0.7553 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003747/0.8241, allocations: 201.9 kB / 0.7555 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006744/0.8248, allocations: 0.5164 MB / 0.756 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001052/0.8259, allocations: 0.7437 MB / 0.7567 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.8259, allocations: 4 kB / 0.7567 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001514/0.8274, allocations: 0.8804 MB / 0.7576 GB, free: 2.285 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/0.8274, allocations: 8 kB / 0.7576 GB, free: 2.277 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/0.8274, allocations: 12 kB / 0.7576 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001334/0.8288, allocations: 312.6 kB / 0.7579 GB, free: 1.957 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004064/0.8292, allocations: 131.7 kB / 0.758 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00116/0.8303, allocations: 0.9295 MB / 0.7589 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004706/0.8308, allocations: 27.98 kB / 0.7589 GB, free: 0.8477 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.012e-05/0.8309, allocations: 68.06 kB / 0.759 GB, free: 0.7812 MB / 0.5606 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.0003522/0.8312, allocations: 249.4 kB / 0.7592 GB, free: 0.5273 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/0.8314, allocations: 71.58 kB / 0.7593 GB, free: 468 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001666/0.833, allocations: 0.8597 MB / 0.7601 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.505e-06/0.833, allocations: 4 kB / 0.7601 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.833, allocations: 0 / 0.7601 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/0.833, allocations: 5.172 kB / 0.7602 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002148/0.8352, allocations: 1.461 MB / 0.7616 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.8352, allocations: 4 kB / 0.7616 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001031/0.8362, allocations: 211.8 kB / 0.7618 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.861e-05/0.8363, allocations: 21.03 kB / 0.7618 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.957e-05/0.8364, allocations: 23.98 kB / 0.7618 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00238/0.8387, allocations: 2.883 MB / 0.7646 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.8387, allocations: 0 / 0.7646 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001315/0.8401, allocations: 0.823 MB / 0.7654 GB, free: 9.695 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003624/0.8404, allocations: 188.7 kB / 0.7656 GB, free: 9.492 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.344e-05/0.8405, allocations: 8 kB / 0.7656 GB, free: 9.484 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000386/0.8409, allocations: 23.98 kB / 0.7657 GB, free: 9.461 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.841, allocations: 47.89 kB / 0.7657 GB, free: 9.414 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.024e-05/0.8411, allocations: 43.98 kB / 0.7657 GB, free: 9.371 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005639/0.8416, allocations: 447 kB / 0.7662 GB, free: 8.941 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.8416, allocations: 3.938 kB / 0.7662 GB, free: 8.938 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009253/0.8426, allocations: 251.8 kB / 0.7664 GB, free: 8.691 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.002297/0.8449, allocations: 1.559 MB / 0.7679 GB, free: 7.094 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001195/0.8461, allocations: 0.5311 MB / 0.7685 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/0.8461, allocations: 7.859 kB / 0.7685 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00104/0.8471, allocations: 402.4 kB / 0.7688 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001655/0.8488, allocations: 371.6 kB / 0.7692 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01036/0.8591, allocations: 6.335 MB / 0.7754 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006951/0.8598, allocations: 0.9298 MB / 0.7763 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001252/0.8611, allocations: 473.8 kB / 0.7767 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005464/0.8616, allocations: 279.3 kB / 0.777 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of SimCode: time 1.082e-06/0.8616, allocations: 0 / 0.777 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07048/0.9321, allocations: 24.6 MB / 0.801 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.02/13.96, allocations: 4.328 kB / 0.801 GB, free: 5.039 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 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.047470138873905] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.p', 'volume.medium.T'] 14.06493006227538 14.079539109 13.273181139 Calling exit ...