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.001315/0.001315, allocations: 122.6 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.001479/0.001479, allocations: 206.6 kB / 21.45 MB, free: 1.629 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.526/1.526, allocations: 230.4 MB / 254.7 MB, free: 15.03 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.254/0.254, allocations: 46.92 MB / 357.7 MB, free: 10.22 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.00227/0.00227, allocations: 80.14 kB / 0.4917 GB, free: 7.727 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1488, allocations: 66.03 MB / 0.5562 GB, free: 5.562 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.006692/0.1555, allocations: 4.633 MB / 0.5607 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005236/0.1607, allocations: 4.022 MB / 0.5646 GB, free: 12.86 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001853/0.1609, allocations: 0 / 0.5646 GB, free: 12.86 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003496/0.1612, allocations: 55.59 kB / 0.5647 GB, free: 12.8 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002552/0.1638, allocations: 0.7227 MB / 0.5654 GB, free: 12.07 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003994/0.1642, allocations: 142.3 kB / 0.5655 GB, free: 11.94 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006369/0.1648, allocations: 374.1 kB / 0.5659 GB, free: 11.57 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.291e-05/0.1649, allocations: 5.688 kB / 0.5659 GB, free: 11.57 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000226/0.1651, allocations: 155.4 kB / 0.566 GB, free: 11.42 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002726/0.1654, allocations: 155.5 kB / 0.5662 GB, free: 11.27 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.804e-05/0.1654, allocations: 8 kB / 0.5662 GB, free: 11.26 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001412/0.1668, allocations: 439.4 kB / 0.5666 GB, free: 10.83 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001306/0.1669, allocations: 47.81 kB / 0.5667 GB, free: 10.78 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001802/0.1671, allocations: 103.5 kB / 0.5668 GB, free: 10.68 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001254/0.1684, allocations: 466.5 kB / 0.5672 GB, free: 10.22 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.1684, allocations: 3.938 kB / 0.5672 GB, free: 10.22 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1684, allocations: 4 kB / 0.5672 GB, free: 10.21 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.176e-05/0.1684, allocations: 0 / 0.5672 GB, free: 10.21 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.001315/0.1697, allocations: 0.6039 MB / 0.5678 GB, free: 9.562 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.1698, allocations: 8.031 kB / 0.5678 GB, free: 9.555 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.9e-05/0.1698, allocations: 70.66 kB / 0.5679 GB, free: 9.477 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001755/0.17, allocations: 24.84 kB / 0.5679 GB, free: 9.453 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003832/0.1704, allocations: 228 kB / 0.5681 GB, free: 9.191 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001503/0.1705, allocations: 127.9 kB / 0.5682 GB, free: 9.043 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.649e-05/0.1706, allocations: 24.12 kB / 0.5683 GB, free: 9.02 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005693/0.1712, allocations: 323.6 kB / 0.5686 GB, free: 8.676 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.1712, allocations: 4 kB / 0.5686 GB, free: 8.672 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.979e-05/0.1712, allocations: 8 kB / 0.5686 GB, free: 8.664 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.986e-05/0.1712, allocations: 11.98 kB / 0.5686 GB, free: 8.652 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008927/0.1721, allocations: 0.7352 MB / 0.5693 GB, free: 7.914 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.001545/0.1737, allocations: 1.3 MB / 0.5706 GB, free: 6.496 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003828/0.174, allocations: 159.7 kB / 0.5707 GB, free: 6.332 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001369/0.1742, allocations: 81.47 kB / 0.5708 GB, free: 6.25 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002915/0.1771, allocations: 2.806 MB / 0.5736 GB, free: 2.914 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.832e-05/0.1771, allocations: 38.5 kB / 0.5736 GB, free: 2.867 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 2.144e-06/0.1771, allocations: 4 kB / 0.5736 GB, free: 2.863 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003486/0.1775, allocations: 125.4 kB / 0.5737 GB, free: 2.734 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.694e-05/0.1775, allocations: 51.41 kB / 0.5738 GB, free: 2.672 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002316/0.1778, allocations: 228.6 kB / 0.574 GB, free: 2.441 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.634e-05/0.1778, allocations: 25.7 kB / 0.574 GB, free: 2.41 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001666/0.178, allocations: 223.4 kB / 0.5742 GB, free: 2.188 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.987e-05/0.178, allocations: 43.64 kB / 0.5743 GB, free: 2.145 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/0.1781, allocations: 78.08 kB / 0.5743 GB, free: 2.062 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.1783, allocations: 338.8 kB / 0.5747 GB, free: 1.723 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.393e-05/0.1784, allocations: 44.84 kB / 0.5747 GB, free: 1.676 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003509/0.1787, allocations: 347.2 kB / 0.575 GB, free: 1.191 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004942/0.1792, allocations: 436.6 kB / 0.5754 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.1792, allocations: 4 kB / 0.5754 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006209/0.1798, allocations: 393.1 kB / 0.5758 GB, free: 228 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.53e-05/0.1799, allocations: 11.98 kB / 0.5758 GB, free: 216 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.75e-05/0.1799, allocations: 15.98 kB / 0.5759 GB, free: 200 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.234e-05/0.1799, allocations: 16.72 kB / 0.5759 GB, free: 184 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002666/0.1802, allocations: 95.84 kB / 0.576 GB, free: 88 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.171e-05/0.1802, allocations: 27.86 kB / 0.576 GB, free: 60 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002426/0.1805, allocations: 55.56 kB / 0.576 GB, free: 4 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-05/0.1805, allocations: 28.08 kB / 0.5761 GB, free: 15.97 MB / 446.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.0001614/0.1807, allocations: 153.6 kB / 0.5762 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.254e-05/0.1807, allocations: 15.91 kB / 0.5762 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003063/0.181, allocations: 148.4 kB / 0.5764 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/0.181, allocations: 0 / 0.5764 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.181, allocations: 0 / 0.5764 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.181, allocations: 7.984 kB / 0.5764 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005457/0.1816, allocations: 404.9 kB / 0.5768 GB, free: 15.17 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.1816, allocations: 4 kB / 0.5768 GB, free: 15.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.697e-05/0.1817, allocations: 11.94 kB / 0.5768 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.1817, allocations: 4 kB / 0.5768 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.984e-06/0.1817, allocations: 0 / 0.5768 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.06e-06/0.1817, allocations: 4 kB / 0.5768 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.1817, allocations: 4.078 kB / 0.5768 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002185/0.1819, allocations: 213.8 kB / 0.577 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.667e-05/0.182, allocations: 104.9 kB / 0.5771 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.349e-05/0.182, allocations: 7.953 kB / 0.5771 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001492/0.1822, allocations: 4.062 kB / 0.5771 GB, free: 14.78 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.355e-05/0.1822, allocations: 11.98 kB / 0.5771 GB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.1822, allocations: 4 kB / 0.5771 GB, free: 14.77 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001483/0.1823, allocations: 160.4 kB / 0.5773 GB, free: 14.61 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1823, allocations: 0 / 0.5773 GB, free: 14.61 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005275/0.1829, allocations: 95.88 kB / 0.5774 GB, free: 14.51 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.0007505/0.1836, allocations: 0.7889 MB / 0.5781 GB, free: 13.68 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003372/0.184, allocations: 165.8 kB / 0.5783 GB, free: 13.52 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.184, allocations: 0 / 0.5783 GB, free: 13.52 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.891e-05/0.184, allocations: 23.92 kB / 0.5783 GB, free: 13.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004418/0.1844, allocations: 45.34 kB / 0.5784 GB, free: 13.46 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003425/0.1879, allocations: 2.81 MB / 0.5811 GB, free: 10.27 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003672/0.1882, allocations: 0.7245 MB / 0.5818 GB, free: 9.516 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002026/0.1884, allocations: 55.22 kB / 0.5819 GB, free: 9.461 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.562e-05/0.1885, allocations: 63.41 kB / 0.5819 GB, free: 9.398 MB / 446.1 MB Notification: Performance of SimCode: time 1.222e-06/0.1885, allocations: 0 / 0.5819 GB, free: 9.398 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0309/0.2194, allocations: 5.257 MB / 0.5871 GB, free: 4.281 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.17/8.389, allocations: 14.27 kB / 0.5871 GB, free: 4.27 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.9988e-05 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.805495431181043] 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.461901791859418 8.714082679 8.542914577 Calling exit ...