Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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.001564/0.001564, allocations: 118.6 kB / 18.5 MB, free: 4.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.001934/0.001934, allocations: 214.6 kB / 21.46 MB, free: 1.605 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.493/1.493, allocations: 230.2 MB / 254.5 MB, free: 15.24 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.2237/0.2237, allocations: 46.89 MB / 357.4 MB, free: 10.51 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.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_IdealGasN2Mix",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.002233/0.002233, allocations: 83.86 kB / 0.4912 GB, free: 8.555 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1356, allocations: 65.98 MB / 0.5556 GB, free: 6.453 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.4897/0.6253, allocations: 152.9 MB / 0.7049 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002817/0.6281, allocations: 1.602 MB / 0.7065 GB, free: 7.676 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.621e-05/0.6282, allocations: 0 / 0.7065 GB, free: 7.676 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0004129/0.6286, allocations: 51.72 kB / 0.7066 GB, free: 7.625 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001389/0.63, allocations: 416.8 kB / 0.707 GB, free: 7.219 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006778/0.6307, allocations: 176.9 kB / 0.7071 GB, free: 7.051 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003392/0.631, allocations: 183.3 kB / 0.7073 GB, free: 6.871 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.71e-05/0.631, allocations: 0 / 0.7073 GB, free: 6.871 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002288/0.6313, allocations: 87.62 kB / 0.7074 GB, free: 6.785 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001684/0.6314, allocations: 55.81 kB / 0.7074 GB, free: 6.73 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.355e-05/0.6315, allocations: 8 kB / 0.7074 GB, free: 6.723 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001403/0.6329, allocations: 0.6197 MB / 0.7081 GB, free: 6.102 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.375e-05/0.6329, allocations: 35.83 kB / 0.7081 GB, free: 6.066 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 9.437e-05/0.633, allocations: 51.8 kB / 0.7081 GB, free: 6.016 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0008154/0.6339, allocations: 398.9 kB / 0.7085 GB, free: 5.625 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.6339, allocations: 7.984 kB / 0.7085 GB, free: 5.617 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.353e-06/0.6339, allocations: 0 / 0.7085 GB, free: 5.617 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.192e-05/0.6339, allocations: 0 / 0.7085 GB, free: 5.617 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0007309/0.6346, allocations: 438.8 kB / 0.7089 GB, free: 5.141 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.6347, allocations: 12.03 kB / 0.709 GB, free: 5.129 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.105e-05/0.6347, allocations: 42.73 kB / 0.709 GB, free: 5.078 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003298/0.638, allocations: 201.1 kB / 0.7092 GB, free: 4.883 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003898/0.6384, allocations: 211.9 kB / 0.7094 GB, free: 4.637 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.6384, allocations: 8 kB / 0.7094 GB, free: 4.629 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.522e-05/0.6385, allocations: 12 kB / 0.7094 GB, free: 4.617 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006624/0.6391, allocations: 200.3 kB / 0.7096 GB, free: 4.418 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.6392, allocations: 0.8438 kB / 0.7096 GB, free: 4.418 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.494e-05/0.6392, allocations: 4 kB / 0.7096 GB, free: 4.414 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.878e-06/0.6392, allocations: 11.94 kB / 0.7096 GB, free: 4.402 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007527/0.64, allocations: 227.9 kB / 0.7098 GB, free: 4.18 MB / 0.5137 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.001889/0.6418, allocations: 0.6721 MB / 0.7105 GB, free: 3.453 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00045/0.6423, allocations: 178.5 kB / 0.7107 GB, free: 3.27 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002088/0.6425, allocations: 96.28 kB / 0.7107 GB, free: 3.176 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001878/0.6427, allocations: 93.09 kB / 0.7108 GB, free: 3.066 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.6427, allocations: 30.56 kB / 0.7109 GB, free: 3.027 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 1.864e-06/0.6427, allocations: 0 / 0.7109 GB, free: 3.027 MB / 0.5137 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.00566/0.6484, allocations: 1.54 MB / 0.7124 GB, free: 1.379 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.073e-05/0.6484, allocations: 55.34 kB / 0.7124 GB, free: 1.312 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.6485, allocations: 117.8 kB / 0.7125 GB, free: 1.188 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.314e-05/0.6486, allocations: 29.69 kB / 0.7126 GB, free: 1.152 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.723e-05/0.6486, allocations: 100.4 kB / 0.7127 GB, free: 1.051 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.375e-05/0.6487, allocations: 71.41 kB / 0.7127 GB, free: 0.9805 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.377e-05/0.6488, allocations: 45.7 kB / 0.7128 GB, free: 0.9297 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.6489, allocations: 318.8 kB / 0.7131 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002148/0.6492, allocations: 91.95 kB / 0.7132 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002424/0.6494, allocations: 123.4 kB / 0.7133 GB, free: 396 kB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004578/0.6499, allocations: 229.9 kB / 0.7135 GB, free: 156 kB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.6499, allocations: 0 / 0.7135 GB, free: 156 kB / 0.5137 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006358/0.6505, allocations: 278.3 kB / 0.7138 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.6505, allocations: 4 kB / 0.7138 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.6505, allocations: 7.984 kB / 0.7138 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000137/0.6507, allocations: 28.94 kB / 0.7138 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004309/0.6511, allocations: 51.91 kB / 0.7139 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004275/0.6515, allocations: 0.5367 MB / 0.7144 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002726/0.6518, allocations: 11.94 kB / 0.7144 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.952e-05/0.6518, allocations: 11.92 kB / 0.7144 GB, free: 15.19 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * 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 {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001403/0.652, allocations: 125.9 kB / 0.7145 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.418e-05/0.652, allocations: 8.766 kB / 0.7145 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000744/0.6528, allocations: 321.1 kB / 0.7148 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.6528, allocations: 3.938 kB / 0.7148 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.6528, allocations: 0 / 0.7148 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.6528, allocations: 4 kB / 0.7148 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001141/0.6539, allocations: 0.6736 MB / 0.7155 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.6539, allocations: 0 / 0.7155 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000431/0.6544, allocations: 59.52 kB / 0.7156 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.767e-05/0.6544, allocations: 16.84 kB / 0.7156 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.499e-05/0.6545, allocations: 8 kB / 0.7156 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001074/0.6555, allocations: 1.368 MB / 0.7169 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.6555, allocations: 4.031 kB / 0.7169 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008539/0.6564, allocations: 454.8 kB / 0.7174 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.517e-05/0.6564, allocations: 89.08 kB / 0.7174 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.554e-05/0.6565, allocations: 12.06 kB / 0.7175 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003028/0.6568, allocations: 4 kB / 0.7175 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.903e-05/0.6568, allocations: 19.97 kB / 0.7175 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.576e-05/0.6568, allocations: 8 kB / 0.7175 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.452e-05/0.6569, allocations: 91.27 kB / 0.7176 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.6569, allocations: 0 / 0.7176 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005005/0.6574, allocations: 135.7 kB / 0.7177 GB, free: 11.54 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,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 (19): * Single equations (assignments): 18 * 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): 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.001646/0.6591, allocations: 1.143 MB / 0.7188 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005979/0.6597, allocations: 230.6 kB / 0.719 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.09e-05/0.6597, allocations: 0 / 0.719 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000398/0.6601, allocations: 229.1 kB / 0.7193 GB, free: 9.898 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004174/0.6605, allocations: 53.25 kB / 0.7193 GB, free: 9.848 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002978/0.6635, allocations: 2.131 MB / 0.7214 GB, free: 7.602 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003644/0.6638, allocations: 0.7124 MB / 0.7221 GB, free: 6.863 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002702/0.6641, allocations: 49.39 kB / 0.7221 GB, free: 6.816 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001324/0.6642, allocations: 39.41 kB / 0.7222 GB, free: 6.777 MB / 0.5294 GB Notification: Performance of SimCode: time 3.8e-07/0.6642, allocations: 0 / 0.7222 GB, free: 6.777 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05091/0.7151, allocations: 8.016 MB / 0.73 GB, free: 14.88 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.11/12.82, allocations: 7.984 kB / 0.73 GB, free: 14.87 MB / 0.545 GB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_IdealGasN2Mix_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_IdealGasN2Mix.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.759568606037647] Failed to read output from testmodel.py, exit status != 0: ['time', 'medium.T', 'medium.p'] 12.918213990982622 12.9351193 12.298056213 Calling exit ...