Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater.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: 120.4 kB / 18.5 MB, free: 4.578 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.001774/0.001774, allocations: 208.9 kB / 21.46 MB, free: 1.625 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.486/1.486, allocations: 230.2 MB / 254.5 MB, free: 15.26 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.2373/0.2373, allocations: 46.89 MB / 357.4 MB, free: 10.52 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.LinearColdWater,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_LinearColdWater",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.002305/0.002305, allocations: 83.86 kB / 0.4913 GB, free: 8.516 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1348, allocations: 65.98 MB / 0.5557 GB, free: 6.406 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.006591/0.1414, allocations: 4.629 MB / 0.5602 GB, free: 1.742 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004822/0.1462, allocations: 4.022 MB / 0.5641 GB, free: 13.7 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001127/0.1463, allocations: 0 / 0.5641 GB, free: 13.7 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002841/0.1466, allocations: 51.61 kB / 0.5642 GB, free: 13.65 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001846/0.1484, allocations: 0.7343 MB / 0.5649 GB, free: 12.91 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003381/0.1488, allocations: 130.2 kB / 0.565 GB, free: 12.79 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005504/0.1493, allocations: 382 kB / 0.5654 GB, free: 12.42 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.64e-05/0.1494, allocations: 5.688 kB / 0.5654 GB, free: 12.41 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001892/0.1496, allocations: 143.5 kB / 0.5655 GB, free: 12.27 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002472/0.1498, allocations: 159.4 kB / 0.5657 GB, free: 12.12 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.76e-05/0.1498, allocations: 8 kB / 0.5657 GB, free: 12.11 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009062/0.1508, allocations: 443.4 kB / 0.5661 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.851e-05/0.1508, allocations: 43.77 kB / 0.5662 GB, free: 11.63 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001224/0.151, allocations: 103.5 kB / 0.5663 GB, free: 11.53 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000705/0.1517, allocations: 466.6 kB / 0.5667 GB, free: 11.07 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1517, allocations: 0 / 0.5667 GB, free: 11.07 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1517, allocations: 4 kB / 0.5667 GB, free: 11.07 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.1517, allocations: 7.938 kB / 0.5667 GB, free: 11.06 MB / 430.1 MB 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.001161/0.1528, allocations: 0.6 MB / 0.5673 GB, free: 10.41 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.1529, allocations: 8.031 kB / 0.5673 GB, free: 10.41 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.229e-05/0.1529, allocations: 62.66 kB / 0.5674 GB, free: 10.34 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001385/0.1531, allocations: 32.78 kB / 0.5674 GB, free: 10.3 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003434/0.1534, allocations: 228.1 kB / 0.5676 GB, free: 10.04 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001286/0.1536, allocations: 119.9 kB / 0.5677 GB, free: 9.902 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.041e-05/0.1536, allocations: 28.12 kB / 0.5678 GB, free: 9.875 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005167/0.1541, allocations: 331.6 kB / 0.5681 GB, free: 9.523 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.1541, allocations: 0 / 0.5681 GB, free: 9.523 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.812e-05/0.1542, allocations: 12 kB / 0.5681 GB, free: 9.512 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/0.1542, allocations: 4 kB / 0.5681 GB, free: 9.508 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008555/0.155, allocations: 0.739 MB / 0.5688 GB, free: 8.762 MB / 430.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.001514/0.1565, allocations: 1.304 MB / 0.5701 GB, free: 7.34 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003517/0.1569, allocations: 155.7 kB / 0.5702 GB, free: 7.18 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001409/0.157, allocations: 77.48 kB / 0.5703 GB, free: 7.102 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002768/0.1598, allocations: 2.814 MB / 0.5731 GB, free: 3.758 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.1598, allocations: 30.56 kB / 0.5731 GB, free: 3.719 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.543e-06/0.1598, allocations: 4 kB / 0.5731 GB, free: 3.715 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003027/0.1601, allocations: 121.4 kB / 0.5732 GB, free: 3.59 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.415e-05/0.1602, allocations: 55.39 kB / 0.5733 GB, free: 3.523 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002162/0.1604, allocations: 224.6 kB / 0.5735 GB, free: 3.297 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/0.1604, allocations: 29.7 kB / 0.5735 GB, free: 3.262 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001577/0.1606, allocations: 227.4 kB / 0.5737 GB, free: 3.035 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.952e-05/0.1606, allocations: 47.64 kB / 0.5738 GB, free: 2.988 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.538e-05/0.1607, allocations: 82.08 kB / 0.5738 GB, free: 2.902 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.1609, allocations: 326.8 kB / 0.5742 GB, free: 2.574 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.292e-05/0.161, allocations: 48.84 kB / 0.5742 GB, free: 2.523 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003278/0.1613, allocations: 339.2 kB / 0.5745 GB, free: 2.051 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004875/0.1618, allocations: 448.6 kB / 0.5749 GB, free: 1.465 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-05/0.1618, allocations: 4 kB / 0.575 GB, free: 1.461 MB / 430.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005766/0.1624, allocations: 381.2 kB / 0.5753 GB, free: 1.082 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/0.1624, allocations: 13.88 kB / 0.5753 GB, free: 1.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/0.1624, allocations: 8 kB / 0.5753 GB, free: 1.062 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.981e-05/0.1624, allocations: 19.94 kB / 0.5754 GB, free: 1.043 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002504/0.1627, allocations: 100.5 kB / 0.5755 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.198e-05/0.1627, allocations: 23.92 kB / 0.5755 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002261/0.1629, allocations: 59.62 kB / 0.5755 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.411e-05/0.163, allocations: 28 kB / 0.5756 GB, free: 0.8359 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (51): * Single equations (assignments): 50 * Array equations: 1 * 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.0001376/0.1631, allocations: 149.6 kB / 0.5757 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.841e-05/0.1632, allocations: 15.91 kB / 0.5757 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000282/0.1634, allocations: 148.5 kB / 0.5759 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-05/0.1635, allocations: 4 kB / 0.5759 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.1635, allocations: 0 / 0.5759 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.1635, allocations: 0 / 0.5759 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005253/0.164, allocations: 416.9 kB / 0.5763 GB, free: 32 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.164, allocations: 0 / 0.5763 GB, free: 32 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.202e-05/0.1641, allocations: 19.98 kB / 0.5763 GB, free: 12 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1641, allocations: 96 / 0.5763 GB, free: 12 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.1641, allocations: 7.938 kB / 0.5763 GB, free: 4 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.1641, allocations: 3.938 kB / 0.5763 GB, free: 0 / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.548e-05/0.1641, allocations: 112 / 0.5763 GB, free: 16 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002069/0.1643, allocations: 217.8 kB / 0.5765 GB, free: 15.76 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.582e-05/0.1644, allocations: 93.05 kB / 0.5766 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.019e-05/0.1644, allocations: 15.88 kB / 0.5766 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.1646, allocations: 8 kB / 0.5766 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.664e-05/0.1646, allocations: 4 kB / 0.5766 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.991e-05/0.1646, allocations: 7.984 kB / 0.5766 GB, free: 15.61 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000133/0.1647, allocations: 156.5 kB / 0.5768 GB, free: 15.46 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1647, allocations: 4 kB / 0.5768 GB, free: 15.45 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004746/0.1652, allocations: 83.94 kB / 0.5769 GB, free: 15.37 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (9): * Single equations (assignments): 8 * Array equations: 1 * 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 Backend phase and start with SimCode phase: time 0.0006915/0.1659, allocations: 0.8005 MB / 0.5776 GB, free: 14.53 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002903/0.1662, allocations: 166.1 kB / 0.5778 GB, free: 14.37 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.1662, allocations: 0 / 0.5778 GB, free: 14.37 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.143e-05/0.1662, allocations: 23.92 kB / 0.5778 GB, free: 14.35 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004009/0.1666, allocations: 44.72 kB / 0.5779 GB, free: 14.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003165/0.1698, allocations: 2.804 MB / 0.5806 GB, free: 11.12 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003684/0.1702, allocations: 0.7284 MB / 0.5813 GB, free: 10.37 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001766/0.1703, allocations: 58.86 kB / 0.5814 GB, free: 10.31 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.465e-05/0.1704, allocations: 59.42 kB / 0.5814 GB, free: 10.25 MB / 446.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1704, allocations: 0 / 0.5814 GB, free: 10.25 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02792/0.1983, allocations: 5.259 MB / 0.5866 GB, free: 5.125 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.051/8.25, allocations: 23.02 kB / 0.5866 GB, free: 5.105 MB / 446.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_LinearColdWater_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_LinearColdWater.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.509499302133918] 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'] 8.322781906928867 8.586554299 8.431618248 Calling exit ...