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.001308/0.001308, allocations: 120.4 kB / 18.45 MB, free: 4.633 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.001569/0.001569, allocations: 204.9 kB / 21.41 MB, free: 1.684 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.426/1.426, allocations: 227.4 MB / 251.6 MB, free: 84 kB / 190.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.2307/0.2307, allocations: 46.15 MB / 351.1 MB, free: 14.32 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.002191/0.002191, allocations: 78.86 kB / 489.7 MB, free: 28.19 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.126, allocations: 62.46 MB / 0.5392 GB, free: 4.73 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.0142/0.1403, allocations: 11.28 MB / 0.5502 GB, free: 9.387 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01434/0.1547, allocations: 11.78 MB / 0.5617 GB, free: 13.57 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002039/0.155, allocations: 0 / 0.5617 GB, free: 13.57 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004086/0.1554, allocations: 71.56 kB / 0.5618 GB, free: 13.5 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01132/0.1667, allocations: 3.124 MB / 0.5649 GB, free: 10.36 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004521/0.1672, allocations: 150.6 kB / 0.565 GB, free: 10.21 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005901/0.1731, allocations: 3.904 MB / 0.5688 GB, free: 6.305 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.767e-05/0.1732, allocations: 16.41 kB / 0.5688 GB, free: 6.293 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001799/0.1734, allocations: 131.6 kB / 0.569 GB, free: 6.164 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009903/0.1833, allocations: 7.133 MB / 0.5759 GB, free: 15.02 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.071e-05/0.1834, allocations: 8 kB / 0.5759 GB, free: 15.02 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005222/0.1886, allocations: 2.138 MB / 0.578 GB, free: 12.88 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001002/0.1887, allocations: 43.77 kB / 0.5781 GB, free: 12.83 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002088/0.1889, allocations: 123.5 kB / 0.5782 GB, free: 12.71 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003782/0.1927, allocations: 1.547 MB / 0.5797 GB, free: 11.16 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1928, allocations: 0 / 0.5797 GB, free: 11.16 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1928, allocations: 0 / 0.5797 GB, free: 11.16 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.1928, allocations: 0 / 0.5797 GB, free: 11.16 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.002225/0.195, allocations: 0.9491 MB / 0.5806 GB, free: 10.16 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.1951, allocations: 11.97 kB / 0.5806 GB, free: 10.15 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.969e-05/0.1951, allocations: 58.73 kB / 0.5807 GB, free: 10.08 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005822/0.1957, allocations: 84.72 kB / 0.5808 GB, free: 10 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003687/0.1961, allocations: 248 kB / 0.581 GB, free: 9.719 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.704e-05/0.1962, allocations: 24.94 kB / 0.581 GB, free: 9.695 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.974e-05/0.1962, allocations: 24.38 kB / 0.5811 GB, free: 9.672 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009942/0.1972, allocations: 489.4 kB / 0.5815 GB, free: 9.16 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.1972, allocations: 3.938 kB / 0.5815 GB, free: 9.156 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.275e-05/0.1973, allocations: 12 kB / 0.5815 GB, free: 9.145 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.1973, allocations: 8 kB / 0.5815 GB, free: 9.137 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001153/0.1984, allocations: 0.6812 MB / 0.5822 GB, free: 8.453 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.007585/0.206, allocations: 4.3 MB / 0.5864 GB, free: 3.73 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005729/0.2066, allocations: 167.1 kB / 0.5866 GB, free: 3.559 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.378e-05/0.2067, allocations: 61.55 kB / 0.5866 GB, free: 3.496 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03099/0.2377, allocations: 16.41 MB / 0.6027 GB, free: 0.9062 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007576/0.2385, allocations: 320.1 kB / 0.603 GB, free: 0.5312 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 2.585e-06/0.2385, allocations: 0 / 0.603 GB, free: 0.5312 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.001434/0.24, allocations: 438.4 kB / 0.6034 GB, free: 100 kB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.272/0.512, allocations: 474.2 kB / 0.6038 GB, free: 65.14 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002669/0.5123, allocations: 189.8 kB / 0.604 GB, free: 65.05 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.189e-05/0.5123, allocations: 33.17 kB / 0.604 GB, free: 65.02 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.5124, allocations: 189 kB / 0.6042 GB, free: 64.9 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.155e-05/0.5125, allocations: 107 kB / 0.6043 GB, free: 64.85 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001259/0.5127, allocations: 96.34 kB / 0.6044 GB, free: 64.83 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 6.5e-05/0.5127, allocations: 328.8 kB / 0.6047 GB, free: 64.52 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001331/0.5129, allocations: 62.12 kB / 0.6048 GB, free: 64.52 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002704/0.5132, allocations: 315.3 kB / 0.6051 GB, free: 64.2 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004061/0.5136, allocations: 423.9 kB / 0.6055 GB, free: 63.88 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/0.5136, allocations: 2.469 kB / 0.6055 GB, free: 63.88 MB / 462.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006885/0.5143, allocations: 399 kB / 0.6059 GB, free: 63.78 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/0.5143, allocations: 9.031 kB / 0.6059 GB, free: 63.78 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/0.5143, allocations: 10.5 kB / 0.6059 GB, free: 63.78 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.751e-05/0.5144, allocations: 12.42 kB / 0.6059 GB, free: 63.78 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003582/0.5147, allocations: 107.3 kB / 0.606 GB, free: 63.77 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.659e-05/0.5148, allocations: 20.81 kB / 0.606 GB, free: 63.77 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002487/0.515, allocations: 44.22 kB / 0.6061 GB, free: 63.76 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.803e-05/0.5151, allocations: 33.72 kB / 0.6061 GB, free: 63.76 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.0001317/0.5152, allocations: 157.3 kB / 0.6063 GB, free: 63.63 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.34e-05/0.5153, allocations: 27.34 kB / 0.6063 GB, free: 63.62 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001069/0.5164, allocations: 0.7867 MB / 0.607 GB, free: 63.4 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/0.5164, allocations: 5.891 kB / 0.6071 GB, free: 63.4 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/0.5164, allocations: 3.047 kB / 0.6071 GB, free: 63.4 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.054e-06/0.5164, allocations: 7.188 kB / 0.6071 GB, free: 63.4 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001134/0.5176, allocations: 1.222 MB / 0.6083 GB, free: 62.59 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.5176, allocations: 5.469 kB / 0.6083 GB, free: 62.59 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.5177, allocations: 33.56 kB / 0.6083 GB, free: 62.59 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.221e-06/0.5177, allocations: 4.281 kB / 0.6083 GB, free: 62.59 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/0.5178, allocations: 9.172 kB / 0.6083 GB, free: 62.59 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.57e-06/0.5178, allocations: 4.234 kB / 0.6083 GB, free: 62.59 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.5178, allocations: 6.469 kB / 0.6083 GB, free: 62.58 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003556/0.5181, allocations: 380.5 kB / 0.6087 GB, free: 62.29 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.707e-05/0.5182, allocations: 99.75 kB / 0.6088 GB, free: 62.19 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.579e-05/0.5183, allocations: 55.56 kB / 0.6088 GB, free: 62.16 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002274/0.5185, allocations: 12.98 kB / 0.6088 GB, free: 62.16 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.773e-05/0.5185, allocations: 16.75 kB / 0.6089 GB, free: 62.16 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-05/0.5186, allocations: 12.73 kB / 0.6089 GB, free: 62.15 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003287/0.5189, allocations: 292.4 kB / 0.6091 GB, free: 62.02 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5189, allocations: 0 / 0.6091 GB, free: 62.02 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00135/0.5203, allocations: 429.8 kB / 0.6096 GB, free: 61.93 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.001761/0.522, allocations: 1.458 MB / 0.611 GB, free: 61 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004831/0.5225, allocations: 235.5 kB / 0.6112 GB, free: 60.93 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.5225, allocations: 0.5156 kB / 0.6112 GB, free: 60.93 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001183/0.5227, allocations: 88.27 kB / 0.6113 GB, free: 60.89 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007644/0.5234, allocations: 110.4 kB / 0.6114 GB, free: 60.87 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.297/1.82, allocations: 0.5821 GB / 1.193 GB, free: 97.05 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002522/1.821, allocations: 0.8068 MB / 1.194 GB, free: 96.22 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004075/1.821, allocations: 168.8 kB / 1.194 GB, free: 96.08 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001433/1.821, allocations: 151.1 kB / 1.195 GB, free: 95.94 MB / 0.6075 GB Notification: Performance of SimCode: time 9.12e-07/1.821, allocations: 0 / 1.195 GB, free: 95.94 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04341/1.865, allocations: 18.39 MB / 1.213 GB, free: 77.77 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.172/11.04, allocations: 19.94 kB / 1.213 GB, free: 77.75 MB / 0.6075 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.977177440188825] 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'] 11.115550301969051 11.134431614 10.938181277 Calling exit ...