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.001639/0.001639, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.001791/0.001791, allocations: 213.7 kB / 24.54 MB, free: 4.016 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.422/1.422, allocations: 230.5 MB / 258.2 MB, free: 8.023 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.225/0.225, allocations: 46.93 MB / 361.6 MB, free: 4.207 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.003563/0.003563, allocations: 79.86 kB / 0.497 GB, free: 7.754 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3788/0.3824, allocations: 66.08 MB / 0.5615 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.1833/0.5657, allocations: 153.5 MB / 0.7114 GB, free: 10.07 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006054/0.5718, allocations: 5.345 MB / 0.7167 GB, free: 4.719 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.5719, allocations: 4 kB / 0.7167 GB, free: 4.715 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002514/0.5721, allocations: 51.66 kB / 0.7167 GB, free: 4.664 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003247/0.5754, allocations: 1.347 MB / 0.718 GB, free: 3.312 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003279/0.5757, allocations: 146.1 kB / 0.7182 GB, free: 3.176 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000561/0.5762, allocations: 406.1 kB / 0.7186 GB, free: 2.777 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.018e-05/0.5763, allocations: 13.73 kB / 0.7186 GB, free: 2.762 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002745/0.5766, allocations: 179.3 kB / 0.7187 GB, free: 2.586 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003116/0.5769, allocations: 171.5 kB / 0.7189 GB, free: 2.418 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.663e-05/0.5769, allocations: 8 kB / 0.7189 GB, free: 2.41 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002211/0.5791, allocations: 1.119 MB / 0.72 GB, free: 1.289 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.251e-05/0.5792, allocations: 47.81 kB / 0.7201 GB, free: 1.242 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001281/0.5793, allocations: 107.5 kB / 0.7202 GB, free: 1.137 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001338/0.5807, allocations: 0.861 MB / 0.721 GB, free: 280 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.5807, allocations: 4 kB / 0.721 GB, free: 276 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.272e-06/0.5807, allocations: 0 / 0.721 GB, free: 276 kB / 0.545 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.5807, allocations: 0 / 0.721 GB, free: 276 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001263/0.5819, allocations: 0.6231 MB / 0.7216 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.582, allocations: 12.03 kB / 0.7216 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.861e-05/0.5821, allocations: 58.73 kB / 0.7217 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007307/0.5894, allocations: 0.6093 MB / 0.7223 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005652/0.5899, allocations: 207.8 kB / 0.7225 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002185/0.5901, allocations: 226.1 kB / 0.7227 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.765e-05/0.5902, allocations: 24 kB / 0.7227 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001239/0.5915, allocations: 0.5626 MB / 0.7233 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.5915, allocations: 0 / 0.7233 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.316e-05/0.5916, allocations: 11.94 kB / 0.7233 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.798e-05/0.5916, allocations: 12 kB / 0.7233 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001475/0.5931, allocations: 0.6338 MB / 0.7239 GB, free: 13.15 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.002442/0.5955, allocations: 1.579 MB / 0.7254 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003889/0.5959, allocations: 150.5 kB / 0.7256 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001494/0.596, allocations: 68.88 kB / 0.7257 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00113/0.5972, allocations: 487 kB / 0.7261 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.175e-05/0.5972, allocations: 42.48 kB / 0.7262 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=19): time 1.513e-06/0.5972, allocations: 4 kB / 0.7262 GB, free: 10.68 MB / 0.5606 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.001017/0.5982, allocations: 326.7 kB / 0.7265 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.455e-05/0.5983, allocations: 55.41 kB / 0.7265 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001914/0.5985, allocations: 190.7 kB / 0.7267 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.688e-05/0.5985, allocations: 29.7 kB / 0.7267 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001391/0.5987, allocations: 187.8 kB / 0.7269 GB, free: 9.871 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.423e-05/0.5987, allocations: 71.38 kB / 0.727 GB, free: 9.801 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001347/0.5989, allocations: 97.95 kB / 0.7271 GB, free: 9.699 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001699/0.599, allocations: 326.8 kB / 0.7274 GB, free: 9.371 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001635/0.5992, allocations: 72.64 kB / 0.7275 GB, free: 9.301 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003136/0.5995, allocations: 260 kB / 0.7277 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005151/0.6, allocations: 370.2 kB / 0.7281 GB, free: 8.496 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.6, allocations: 4 kB / 0.7281 GB, free: 8.492 MB / 0.5606 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006547/0.6007, allocations: 368.7 kB / 0.7284 GB, free: 8.125 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.6007, allocations: 14.91 kB / 0.7284 GB, free: 8.113 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/0.6007, allocations: 8 kB / 0.7284 GB, free: 8.105 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.909e-05/0.6008, allocations: 16 kB / 0.7285 GB, free: 8.09 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004242/0.6012, allocations: 123.8 kB / 0.7286 GB, free: 7.969 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004517/0.6016, allocations: 0.5977 MB / 0.7292 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002318/0.6019, allocations: 43.73 kB / 0.7292 GB, free: 7.305 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.987e-05/0.6019, allocations: 47.97 kB / 0.7292 GB, free: 7.258 MB / 0.5606 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.0001725/0.6021, allocations: 150.6 kB / 0.7294 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.197e-05/0.6022, allocations: 19.91 kB / 0.7294 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008825/0.6031, allocations: 462.3 kB / 0.7298 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.6031, allocations: 0 / 0.7298 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.6031, allocations: 0 / 0.7298 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.6031, allocations: 0 / 0.7298 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009013/0.604, allocations: 0.5395 MB / 0.7304 GB, free: 6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.604, allocations: 0 / 0.7304 GB, free: 6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002192/0.6042, allocations: 67.89 kB / 0.7304 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.6042, allocations: 3.938 kB / 0.7304 GB, free: 5.93 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.864e-05/0.6042, allocations: 8 kB / 0.7304 GB, free: 5.922 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003558/0.6046, allocations: 0.5979 MB / 0.731 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.6046, allocations: 0 / 0.731 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003847/0.605, allocations: 302.2 kB / 0.7313 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.04e-05/0.605, allocations: 39.77 kB / 0.7314 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.663e-05/0.6051, allocations: 4 kB / 0.7314 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002422/0.6053, allocations: 11.98 kB / 0.7314 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.278e-05/0.6054, allocations: 23.92 kB / 0.7314 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.122e-05/0.6054, allocations: 19.98 kB / 0.7314 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001315/0.6055, allocations: 143.4 kB / 0.7316 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.6055, allocations: 0 / 0.7316 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006583/0.6062, allocations: 163.7 kB / 0.7317 GB, free: 4.566 MB / 0.5606 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.001095/0.6073, allocations: 0.9959 MB / 0.7327 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005273/0.6078, allocations: 212.2 kB / 0.7329 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.6078, allocations: 4 kB / 0.7329 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000197/0.608, allocations: 77.27 kB / 0.733 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005386/0.6086, allocations: 76.34 kB / 0.733 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2378/0.8464, allocations: 3.052 MB / 0.736 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002252/0.8466, allocations: 0.7253 MB / 0.7367 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009122/0.8475, allocations: 378.6 kB / 0.7371 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002452/0.8478, allocations: 92.97 kB / 0.7372 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of SimCode: time 1.012e-06/0.8478, allocations: 0 / 0.7372 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02997/0.8777, allocations: 8.133 MB / 0.7451 GB, free: 169.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/12.32, allocations: 9.891 kB / 0.7451 GB, free: 169.3 MB / 0.5606 GB " [Timeout remaining time 648] (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.18405236536637] 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.416611221153289 12.42510324 11.842240002 Calling exit ...