Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.CO2.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.00132/0.00132, allocations: 118.7 kB / 18.5 MB, free: 4.602 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.001397/0.001397, allocations: 210.5 kB / 21.46 MB, free: 1.648 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.476/1.476, 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.2326/0.2326, allocations: 46.89 MB / 357.4 MB, free: 10.5 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.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_CO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_CO2",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.002229/0.002229, allocations: 79.86 kB / 0.4912 GB, free: 8.496 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1333, allocations: 65.99 MB / 0.5557 GB, free: 6.379 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.4977/0.631, allocations: 153.5 MB / 0.7056 GB, free: 8.504 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006522/0.6375, allocations: 5.326 MB / 0.7108 GB, free: 3.176 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001691/0.6377, allocations: 0 / 0.7108 GB, free: 3.176 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003473/0.638, allocations: 51.66 kB / 0.7108 GB, free: 3.125 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004561/0.6426, allocations: 1.333 MB / 0.7121 GB, free: 1.789 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004421/0.643, allocations: 140.9 kB / 0.7122 GB, free: 1.656 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0008065/0.6438, allocations: 406.1 kB / 0.7126 GB, free: 1.258 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 6.618e-05/0.6439, allocations: 6.219 kB / 0.7126 GB, free: 1.254 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003212/0.6442, allocations: 163.4 kB / 0.7128 GB, free: 1.094 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003366/0.6446, allocations: 183.3 kB / 0.713 GB, free: 0.9141 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.128e-05/0.6446, allocations: 8 kB / 0.713 GB, free: 0.9062 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003043/0.6476, allocations: 1.114 MB / 0.7141 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001162/0.6478, allocations: 51.77 kB / 0.7141 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001475/0.6479, allocations: 99.58 kB / 0.7142 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001821/0.6497, allocations: 0.8649 MB / 0.715 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.6497, allocations: 0 / 0.715 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.884e-06/0.6497, allocations: 0 / 0.715 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.614e-06/0.6497, allocations: 0 / 0.715 GB, free: 14.78 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001388/0.6511, allocations: 0.7008 MB / 0.7157 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/0.6512, allocations: 16.03 kB / 0.7157 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.861e-05/0.6513, allocations: 54.73 kB / 0.7158 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007329/0.6586, allocations: 0.6098 MB / 0.7164 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006658/0.6593, allocations: 273 kB / 0.7167 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001477/0.6594, allocations: 123.3 kB / 0.7168 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.211e-05/0.6595, allocations: 23.94 kB / 0.7168 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001222/0.6607, allocations: 0.5595 MB / 0.7173 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.6607, allocations: 7.938 kB / 0.7173 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.282e-05/0.6608, allocations: 12 kB / 0.7174 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.069e-05/0.6608, allocations: 4 kB / 0.7174 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001466/0.6623, allocations: 0.6338 MB / 0.718 GB, free: 11.61 MB / 0.5294 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.002417/0.6647, allocations: 1.715 MB / 0.7197 GB, free: 9.746 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003654/0.6651, allocations: 149.9 kB / 0.7198 GB, free: 9.594 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001408/0.6652, allocations: 68.88 kB / 0.7199 GB, free: 9.523 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001782/0.667, allocations: 1.483 MB / 0.7213 GB, free: 7.777 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.876e-05/0.667, allocations: 38.55 kB / 0.7213 GB, free: 7.73 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=19): time 1.513e-06/0.667, allocations: 0 / 0.7213 GB, free: 7.73 MB / 0.5294 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.001002/0.668, allocations: 335.2 kB / 0.7217 GB, free: 7.402 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.366e-05/0.6681, allocations: 51.41 kB / 0.7217 GB, free: 7.34 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001835/0.6683, allocations: 182.5 kB / 0.7219 GB, free: 7.152 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.859e-05/0.6683, allocations: 37.7 kB / 0.7219 GB, free: 7.109 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.6684, allocations: 187.8 kB / 0.7221 GB, free: 6.922 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.08e-05/0.6685, allocations: 67.44 kB / 0.7222 GB, free: 6.855 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001297/0.6686, allocations: 94 kB / 0.7223 GB, free: 6.758 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.6688, allocations: 330.8 kB / 0.7226 GB, free: 6.426 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001418/0.6689, allocations: 68.64 kB / 0.7226 GB, free: 6.363 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002981/0.6692, allocations: 268.5 kB / 0.7229 GB, free: 6.008 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004885/0.6697, allocations: 366.9 kB / 0.7232 GB, free: 5.555 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.6697, allocations: 4 kB / 0.7233 GB, free: 5.551 MB / 0.5294 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006674/0.6704, allocations: 370.1 kB / 0.7236 GB, free: 5.184 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.6704, allocations: 8 kB / 0.7236 GB, free: 5.176 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.6704, allocations: 8 kB / 0.7236 GB, free: 5.168 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.472e-05/0.6704, allocations: 8.781 kB / 0.7236 GB, free: 5.16 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004325/0.6709, allocations: 127.8 kB / 0.7238 GB, free: 5.035 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004557/0.6713, allocations: 0.607 MB / 0.7243 GB, free: 4.406 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002448/0.6716, allocations: 47.62 kB / 0.7244 GB, free: 4.359 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.598e-05/0.6716, allocations: 43.98 kB / 0.7244 GB, free: 4.316 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0001677/0.6718, allocations: 141.7 kB / 0.7246 GB, free: 4.168 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.359e-05/0.6719, allocations: 15.91 kB / 0.7246 GB, free: 4.152 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000902/0.6728, allocations: 475.6 kB / 0.725 GB, free: 3.672 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.6728, allocations: 0 / 0.725 GB, free: 3.672 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.6728, allocations: 0 / 0.725 GB, free: 3.672 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.6728, allocations: 4 kB / 0.725 GB, free: 3.668 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00103/0.6738, allocations: 0.6352 MB / 0.7257 GB, free: 2.934 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.04e-05/0.6738, allocations: 7.984 kB / 0.7257 GB, free: 2.926 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000233/0.6741, allocations: 59.91 kB / 0.7257 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/0.6741, allocations: 4 kB / 0.7257 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.991e-05/0.6741, allocations: 8 kB / 0.7257 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004055/0.6745, allocations: 0.5984 MB / 0.7263 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.6745, allocations: 12 kB / 0.7263 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003981/0.6749, allocations: 290.3 kB / 0.7266 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00013/0.675, allocations: 108.9 kB / 0.7267 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.337e-05/0.6751, allocations: 11.94 kB / 0.7267 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002391/0.6753, allocations: 11.42 kB / 0.7267 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.758e-05/0.6753, allocations: 19.92 kB / 0.7268 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.431e-05/0.6754, allocations: 27.92 kB / 0.7268 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001321/0.6755, allocations: 139.6 kB / 0.7269 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.6755, allocations: 0 / 0.7269 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006888/0.6762, allocations: 167.6 kB / 0.7271 GB, free: 1.402 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 simulation (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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: Performance of Backend phase and start with SimCode phase: time 0.001246/0.6774, allocations: 1.007 MB / 0.7281 GB, free: 364 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005629/0.678, allocations: 218.7 kB / 0.7283 GB, free: 148 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.678, allocations: 0 / 0.7283 GB, free: 148 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001989/0.6782, allocations: 85.33 kB / 0.7283 GB, free: 64 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005376/0.6787, allocations: 64.61 kB / 0.7284 GB, free: 0 / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004186/0.6829, allocations: 3.054 MB / 0.7314 GB, free: 12.64 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003586/0.6833, allocations: 0.7246 MB / 0.7321 GB, free: 11.89 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006964/0.684, allocations: 388.3 kB / 0.7325 GB, free: 11.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002044/0.6842, allocations: 91.38 kB / 0.7326 GB, free: 11.41 MB / 0.545 GB Notification: Performance of SimCode: time 1.432e-06/0.6842, allocations: 0 / 0.7326 GB, free: 11.41 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03707/0.7213, allocations: 7.995 MB / 0.7404 GB, free: 3.559 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12.54, allocations: 7.922 kB / 0.7404 GB, free: 3.551 MB / 0.545 GB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.CO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.CO2_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_CO2_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_CO2.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.561275340151042] Failed to read output from testmodel.py, exit status != 0: ['time', 'eps_h_is', 'eta', 'lambda', 'Pr', 'p', 'T', 'd', 'h', 'u', 's', 'g', 'f', 'cp', 'cp2', 'cv', 'cv2', 'h_is', 'a', 'beta', 'beta2', 'kappa', 'kappa2', 'ddpT', 'ddTp', 'dddX[1]', 'MM', 'h2', 'd2', 'err_T', 'err_d', 'err_u', 's_is', 'err_h_is', 'eps'] 12.644668592140079 12.669912478 12.015584408 Calling exit ...