Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.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.001752/0.001752, allocations: 109 kB / 21.23 MB, free: 0.6641 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.002221/0.002221, allocations: 213.6 kB / 24.54 MB, free: 4.02 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.498/1.498, allocations: 230.5 MB / 258.2 MB, free: 8.027 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.226/0.226, allocations: 46.93 MB / 361.6 MB, free: 4.211 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.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",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.002355/0.002355, allocations: 87.84 kB / 0.497 GB, free: 7.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.365/0.3674, allocations: 66.09 MB / 0.5616 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01459/0.382, allocations: 11.37 MB / 0.5727 GB, free: 8.863 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01378/0.3957, allocations: 11.86 MB / 0.5843 GB, free: 12.96 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001884/0.3959, allocations: 4 kB / 0.5843 GB, free: 12.96 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000363/0.3963, allocations: 67.5 kB / 0.5843 GB, free: 12.89 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009483/0.4058, allocations: 3.142 MB / 0.5874 GB, free: 9.734 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004184/0.4062, allocations: 151.2 kB / 0.5875 GB, free: 9.59 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006299/0.4125, allocations: 3.971 MB / 0.5914 GB, free: 5.613 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.018e-05/0.4126, allocations: 16.58 kB / 0.5914 GB, free: 5.602 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002276/0.4128, allocations: 143.5 kB / 0.5916 GB, free: 5.461 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01067/0.4235, allocations: 7.25 MB / 0.5986 GB, free: 14.2 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.124e-05/0.4235, allocations: 12 kB / 0.5987 GB, free: 14.19 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005282/0.4288, allocations: 2.17 MB / 0.6008 GB, free: 12.02 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.4289, allocations: 47.75 kB / 0.6008 GB, free: 11.97 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001752/0.4291, allocations: 127.4 kB / 0.6009 GB, free: 11.85 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00315/0.4322, allocations: 1.551 MB / 0.6025 GB, free: 10.29 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.4322, allocations: 0 / 0.6025 GB, free: 10.29 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.4322, allocations: 0 / 0.6025 GB, free: 10.29 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.4323, allocations: 0 / 0.6025 GB, free: 10.29 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.002174/0.4344, allocations: 0.87 MB / 0.6033 GB, free: 9.391 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.4345, allocations: 8.031 kB / 0.6033 GB, free: 9.383 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.937e-05/0.4346, allocations: 66.72 kB / 0.6034 GB, free: 9.309 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005902/0.4351, allocations: 76.73 kB / 0.6034 GB, free: 9.234 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003691/0.4355, allocations: 186.2 kB / 0.6036 GB, free: 9.027 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.815e-05/0.4355, allocations: 25.03 kB / 0.6036 GB, free: 9 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.986e-05/0.4356, allocations: 24.38 kB / 0.6037 GB, free: 8.977 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/0.4366, allocations: 498.5 kB / 0.6041 GB, free: 8.457 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.4366, allocations: 3.938 kB / 0.6042 GB, free: 8.453 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.374e-05/0.4366, allocations: 12 kB / 0.6042 GB, free: 8.441 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.4367, allocations: 4 kB / 0.6042 GB, free: 8.438 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001144/0.4378, allocations: 0.7005 MB / 0.6049 GB, free: 7.734 MB / 446.1 MB 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.006619/0.4444, allocations: 3.061 MB / 0.6078 GB, free: 4.559 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005398/0.445, allocations: 159 kB / 0.608 GB, free: 4.395 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.459e-05/0.445, allocations: 53.53 kB / 0.608 GB, free: 4.34 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02354/0.4686, allocations: 7.679 MB / 0.6155 GB, free: 12.63 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008019/0.4694, allocations: 318 kB / 0.6158 GB, free: 12.25 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 2.504e-06/0.4694, allocations: 0 / 0.6158 GB, free: 12.25 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.001472/0.4709, allocations: 445.2 kB / 0.6163 GB, free: 11.81 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002933/0.4712, allocations: 488 kB / 0.6167 GB, free: 11.23 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002148/0.4714, allocations: 194 kB / 0.6169 GB, free: 11.03 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.793e-05/0.4714, allocations: 29.7 kB / 0.6169 GB, free: 10.99 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001369/0.4715, allocations: 192.2 kB / 0.6171 GB, free: 10.8 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.676e-05/0.4716, allocations: 107.1 kB / 0.6172 GB, free: 10.7 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/0.4717, allocations: 98 kB / 0.6173 GB, free: 10.59 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.4719, allocations: 326.8 kB / 0.6176 GB, free: 10.27 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001204/0.472, allocations: 64.83 kB / 0.6177 GB, free: 10.2 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003468/0.4724, allocations: 306.8 kB / 0.618 GB, free: 9.781 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005423/0.4729, allocations: 432.8 kB / 0.6184 GB, free: 9.238 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.4729, allocations: 4 kB / 0.6184 GB, free: 9.234 MB / 462.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006872/0.4736, allocations: 397.5 kB / 0.6188 GB, free: 8.84 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.4736, allocations: 8 kB / 0.6188 GB, free: 8.832 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.4736, allocations: 12 kB / 0.6188 GB, free: 8.82 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.516e-05/0.4737, allocations: 12 kB / 0.6188 GB, free: 8.809 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003272/0.474, allocations: 107.8 kB / 0.6189 GB, free: 8.703 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.859e-05/0.474, allocations: 15.92 kB / 0.6189 GB, free: 8.688 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002663/0.4743, allocations: 47.67 kB / 0.619 GB, free: 8.641 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.941e-05/0.4743, allocations: 31.98 kB / 0.619 GB, free: 8.609 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001577/0.4745, allocations: 157.8 kB / 0.6192 GB, free: 8.445 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.955e-05/0.4746, allocations: 39.8 kB / 0.6192 GB, free: 8.406 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001089/0.4756, allocations: 0.8098 MB / 0.62 GB, free: 7.559 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/0.4757, allocations: 4 kB / 0.62 GB, free: 7.555 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.4757, allocations: 4 kB / 0.62 GB, free: 7.551 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.227e-06/0.4757, allocations: 8.141 kB / 0.62 GB, free: 7.543 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001135/0.4768, allocations: 0.9015 MB / 0.6209 GB, free: 6.582 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.4768, allocations: 4 kB / 0.6209 GB, free: 6.578 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.4769, allocations: 35.92 kB / 0.6209 GB, free: 6.543 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.4769, allocations: 7.938 kB / 0.6209 GB, free: 6.535 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.4769, allocations: 7.984 kB / 0.6209 GB, free: 6.527 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.477, allocations: 8.094 kB / 0.6209 GB, free: 6.52 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.477, allocations: 4 kB / 0.621 GB, free: 6.516 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004563/0.4774, allocations: 375.7 kB / 0.6213 GB, free: 6.102 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4e-05/0.4775, allocations: 31.73 kB / 0.6213 GB, free: 6.07 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.927e-05/0.4775, allocations: 43.56 kB / 0.6214 GB, free: 6.027 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002226/0.4777, allocations: 15.98 kB / 0.6214 GB, free: 6.012 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.769e-05/0.4778, allocations: 23.91 kB / 0.6214 GB, free: 5.988 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.4778, allocations: 8 kB / 0.6214 GB, free: 5.98 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003411/0.4781, allocations: 294.9 kB / 0.6217 GB, free: 5.691 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4781, allocations: 0 / 0.6217 GB, free: 5.691 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001273/0.4794, allocations: 430.7 kB / 0.6221 GB, free: 5.27 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * 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: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002008/0.4814, allocations: 1.449 MB / 0.6235 GB, free: 3.766 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004482/0.4819, allocations: 236 kB / 0.6238 GB, free: 3.535 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/0.4819, allocations: 4 kB / 0.6238 GB, free: 3.531 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001299/0.482, allocations: 73.41 kB / 0.6238 GB, free: 3.461 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007236/0.4827, allocations: 102.7 kB / 0.6239 GB, free: 3.363 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.333/1.816, allocations: 0.5821 GB / 1.206 GB, free: 22.79 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000207/1.816, allocations: 0.8068 MB / 1.207 GB, free: 21.96 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003812/1.817, allocations: 170 kB / 1.207 GB, free: 21.82 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001443/1.817, allocations: 155.4 kB / 1.207 GB, free: 21.67 MB / 0.6387 GB Notification: Performance of SimCode: time 9.52e-07/1.817, allocations: 0 / 1.207 GB, free: 21.67 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04422/1.861, allocations: 18.65 MB / 1.225 GB, free: 3.188 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.999/10.86, allocations: 4.766 kB / 1.225 GB, free: 3.184 MB / 0.6387 GB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.995456913020462] Failed to read output from testmodel.py, exit status != 0: ['time', 'eps_h_is', 'eps', 'eta', 'lambda', 'Pr', 'p', 'T', 'd', 'h', 'u', 's', 'g', 'f', 'cp', 'cp2', 'cv', 'cv2', 'h_is', 'a', 'beta', 'beta2', 'kappa', 'kappa2', 'MM', 'h2', 'd2', 'err_T', 'err_d', 'err_u', 's_is', 'err_h_is'] 10.94232472172007 11.195569309 10.760810823 Calling exit ...