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.00133/0.00133, allocations: 109.4 kB / 19.8 MB, free: 2.516 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.00176/0.00176, allocations: 219.5 kB / 23 MB, free: 5.609 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.451/1.451, allocations: 230.2 MB / 256.2 MB, free: 8.676 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.2234/0.2234, allocations: 46.88 MB / 359.4 MB, free: 4.906 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.003582/0.003582, allocations: 83.86 kB / 0.4941 GB, free: 9.008 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.3356, allocations: 65.99 MB / 0.5586 GB, free: 5.129 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.1779/0.5135, allocations: 152.9 MB / 0.7079 GB, free: 11.61 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002197/0.5157, allocations: 1.604 MB / 0.7095 GB, free: 10 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.159e-05/0.5158, allocations: 0 / 0.7095 GB, free: 10 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003522/0.5161, allocations: 47.72 kB / 0.7095 GB, free: 9.957 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001108/0.5173, allocations: 415.8 kB / 0.7099 GB, free: 9.551 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006123/0.5179, allocations: 174.9 kB / 0.7101 GB, free: 9.383 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002862/0.5182, allocations: 191.2 kB / 0.7103 GB, free: 9.195 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.118e-05/0.5182, allocations: 4 kB / 0.7103 GB, free: 9.191 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001881/0.5184, allocations: 83.62 kB / 0.7103 GB, free: 9.109 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001534/0.5185, allocations: 59.81 kB / 0.7104 GB, free: 9.051 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.314e-05/0.5186, allocations: 8 kB / 0.7104 GB, free: 9.043 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001211/0.5198, allocations: 0.6236 MB / 0.711 GB, free: 8.418 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.468e-05/0.5198, allocations: 27.91 kB / 0.711 GB, free: 8.391 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.266e-05/0.5199, allocations: 55.73 kB / 0.7111 GB, free: 8.336 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006515/0.5206, allocations: 406.9 kB / 0.7115 GB, free: 7.938 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.5206, allocations: 0 / 0.7115 GB, free: 7.938 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.313e-06/0.5206, allocations: 4 kB / 0.7115 GB, free: 7.934 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.5206, allocations: 4 kB / 0.7115 GB, free: 7.93 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0006655/0.5212, allocations: 434.9 kB / 0.7119 GB, free: 7.457 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.5213, allocations: 12.03 kB / 0.7119 GB, free: 7.445 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.862e-05/0.5213, allocations: 42.73 kB / 0.712 GB, free: 7.395 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002201/0.5235, allocations: 204.6 kB / 0.7122 GB, free: 7.195 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003044/0.5238, allocations: 211.5 kB / 0.7124 GB, free: 6.949 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.5239, allocations: 4 kB / 0.7124 GB, free: 6.945 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.203e-05/0.5239, allocations: 8 kB / 0.7124 GB, free: 6.938 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005032/0.5244, allocations: 201.5 kB / 0.7126 GB, free: 6.734 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.5244, allocations: 0 / 0.7126 GB, free: 6.734 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.284e-05/0.5245, allocations: 7.938 kB / 0.7126 GB, free: 6.727 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.5245, allocations: 4 kB / 0.7126 GB, free: 6.723 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006177/0.5251, allocations: 231.9 kB / 0.7128 GB, free: 6.496 MB / 0.545 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.001872/0.527, allocations: 0.6629 MB / 0.7134 GB, free: 5.777 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004744/0.5274, allocations: 186.5 kB / 0.7136 GB, free: 5.586 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002345/0.5277, allocations: 96.81 kB / 0.7137 GB, free: 5.488 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000161/0.5278, allocations: 89.09 kB / 0.7138 GB, free: 5.383 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.5279, allocations: 30.56 kB / 0.7138 GB, free: 5.344 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.323e-06/0.5279, allocations: 0 / 0.7138 GB, free: 5.344 MB / 0.545 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.006028/0.5339, allocations: 1.546 MB / 0.7153 GB, free: 3.684 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/0.5339, allocations: 55.41 kB / 0.7154 GB, free: 3.617 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.534, allocations: 121.8 kB / 0.7155 GB, free: 3.488 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.356e-05/0.5341, allocations: 29.7 kB / 0.7155 GB, free: 3.453 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.358e-05/0.5342, allocations: 100.3 kB / 0.7156 GB, free: 3.352 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.449e-05/0.5342, allocations: 71.42 kB / 0.7157 GB, free: 3.281 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.5343, allocations: 41.7 kB / 0.7157 GB, free: 3.234 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.5345, allocations: 318.8 kB / 0.716 GB, free: 2.914 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002225/0.5347, allocations: 87.95 kB / 0.7161 GB, free: 2.828 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000258/0.535, allocations: 128.6 kB / 0.7162 GB, free: 2.691 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005591/0.5355, allocations: 226.8 kB / 0.7165 GB, free: 2.461 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.5355, allocations: 4 kB / 0.7165 GB, free: 2.457 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006311/0.5362, allocations: 278.3 kB / 0.7167 GB, free: 2.176 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.5362, allocations: 4 kB / 0.7167 GB, free: 2.172 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.5362, allocations: 7.938 kB / 0.7167 GB, free: 2.164 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001272/0.5363, allocations: 20.84 kB / 0.7168 GB, free: 2.141 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004457/0.5368, allocations: 67.98 kB / 0.7168 GB, free: 2.074 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004119/0.5372, allocations: 0.5331 MB / 0.7173 GB, free: 1.516 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002717/0.5374, allocations: 16.03 kB / 0.7174 GB, free: 1.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.622e-05/0.5375, allocations: 11.98 kB / 0.7174 GB, free: 1.488 MB / 0.545 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.0001359/0.5376, allocations: 121.9 kB / 0.7175 GB, free: 1.359 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.154e-05/0.5377, allocations: 11.95 kB / 0.7175 GB, free: 1.348 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007948/0.5385, allocations: 321.4 kB / 0.7178 GB, free: 1.02 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.5385, allocations: 4 kB / 0.7178 GB, free: 1.016 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.5385, allocations: 0 / 0.7178 GB, free: 1.016 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.5385, allocations: 0 / 0.7178 GB, free: 1.016 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001177/0.5397, allocations: 0.6781 MB / 0.7185 GB, free: 280 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.5397, allocations: 0 / 0.7185 GB, free: 280 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000431/0.5401, allocations: 55.98 kB / 0.7185 GB, free: 224 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.518e-05/0.5402, allocations: 20.84 kB / 0.7185 GB, free: 200 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.641e-05/0.5402, allocations: 4 kB / 0.7186 GB, free: 196 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001138/0.5413, allocations: 1.372 MB / 0.7199 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.5413, allocations: 4.031 kB / 0.7199 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00087/0.5422, allocations: 446.7 kB / 0.7203 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.304e-05/0.5423, allocations: 85.09 kB / 0.7204 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.293e-05/0.5423, allocations: 15.92 kB / 0.7204 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000315/0.5426, allocations: 8 kB / 0.7204 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.886e-05/0.5426, allocations: 20.03 kB / 0.7204 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.469e-05/0.5427, allocations: 12 kB / 0.7205 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.934e-05/0.5427, allocations: 83.27 kB / 0.7205 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5427, allocations: 0 / 0.7205 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005199/0.5433, allocations: 139.7 kB / 0.7207 GB, free: 13.83 MB / 0.5606 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.00173/0.545, allocations: 1.147 MB / 0.7218 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006327/0.5456, allocations: 227.9 kB / 0.722 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.5456, allocations: 4 kB / 0.722 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004226/0.546, allocations: 226.6 kB / 0.7222 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000442/0.5465, allocations: 48.38 kB / 0.7223 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003203/0.5497, allocations: 2.132 MB / 0.7244 GB, free: 9.895 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003671/0.5501, allocations: 0.7124 MB / 0.7251 GB, free: 9.152 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002775/0.5503, allocations: 53.33 kB / 0.7251 GB, free: 9.102 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001561/0.5505, allocations: 43.41 kB / 0.7251 GB, free: 9.059 MB / 0.5606 GB Notification: Performance of SimCode: time 2.71e-07/0.5505, allocations: 0 / 0.7251 GB, free: 9.059 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03777/0.5883, allocations: 8.019 MB / 0.733 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/12.56, allocations: 0 / 0.733 GB, free: 1.125 MB / 0.5606 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 --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.684890522010392] Failed to read output from testmodel.py, exit status != 0: ['time', 'medium.T', 'medium.p'] 12.976159707002807 12.987649186 12.464664801 Calling exit ...