Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.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.001244/0.001244, allocations: 118.2 kB / 18.46 MB, free: 4.59 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.001899/0.001899, allocations: 219.3 kB / 21.41 MB, free: 1.637 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.453/1.453, allocations: 227.4 MB / 251.7 MB, free: 60 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.2271/0.2271, allocations: 46.16 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.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_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.002272/0.002272, allocations: 81.12 kB / 489.7 MB, free: 28.33 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1129, allocations: 62.44 MB / 0.5392 GB, free: 4.793 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02273/0.1357, allocations: 20.37 MB / 0.5591 GB, free: 344 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006623/0.1424, allocations: 4.286 MB / 0.5633 GB, free: 12.04 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006072/0.143, allocations: 19.88 kB / 0.5633 GB, free: 12.02 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009405/0.144, allocations: 313.9 kB / 0.5636 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002057/0.1461, allocations: 0.8472 MB / 0.5644 GB, free: 10.86 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002409/0.1485, allocations: 0.9064 MB / 0.5653 GB, free: 9.953 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002285/0.1508, allocations: 1.805 MB / 0.5671 GB, free: 8.141 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007746/0.1516, allocations: 457.4 kB / 0.5675 GB, free: 7.691 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002004/0.1536, allocations: 0.9223 MB / 0.5684 GB, free: 6.766 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001107/0.1547, allocations: 0.6422 MB / 0.569 GB, free: 6.121 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001287/0.1548, allocations: 56 kB / 0.5691 GB, free: 6.066 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008736/0.1557, allocations: 311.6 kB / 0.5694 GB, free: 5.762 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002878/0.156, allocations: 255.3 kB / 0.5696 GB, free: 5.512 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004502/0.1565, allocations: 390.2 kB / 0.57 GB, free: 5.129 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001554/0.158, allocations: 1.094 MB / 0.5711 GB, free: 4.031 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.1581, allocations: 0 / 0.5711 GB, free: 4.031 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1581, allocations: 3.938 kB / 0.5711 GB, free: 4.027 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.696e-05/0.1581, allocations: 0 / 0.5711 GB, free: 4.027 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002228/0.1603, allocations: 1.07 MB / 0.5721 GB, free: 2.906 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.1604, allocations: 8.031 kB / 0.5721 GB, free: 2.898 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001314/0.1605, allocations: 94.7 kB / 0.5722 GB, free: 2.797 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000336/0.1609, allocations: 100.4 kB / 0.5723 GB, free: 2.699 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008438/0.1617, allocations: 0.5331 MB / 0.5728 GB, free: 2.125 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001126/0.1618, allocations: 101 kB / 0.5729 GB, free: 2.016 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.169e-05/0.1619, allocations: 56.08 kB / 0.573 GB, free: 1.961 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001304/0.1632, allocations: 0.8291 MB / 0.5738 GB, free: 1.059 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.23e-05/0.1633, allocations: 0 / 0.5738 GB, free: 1.059 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.69e-05/0.1634, allocations: 20 kB / 0.5738 GB, free: 1.039 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.345e-05/0.1635, allocations: 44.91 kB / 0.5738 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001103/0.1646, allocations: 0.6439 MB / 0.5745 GB, free: 360 kB / 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.005212/0.1698, allocations: 4.21 MB / 0.5786 GB, free: 11.85 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008877/0.1707, allocations: 415.8 kB / 0.579 GB, free: 11.44 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003478/0.171, allocations: 217.4 kB / 0.5792 GB, free: 11.22 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005494/0.1716, allocations: 0.4989 MB / 0.5797 GB, free: 10.61 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.1717, allocations: 38.89 kB / 0.5797 GB, free: 10.57 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 1.813e-06/0.1717, allocations: 0 / 0.5797 GB, free: 10.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.003307/0.175, allocations: 1.545 MB / 0.5812 GB, free: 8.965 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.741e-05/0.1751, allocations: 136.5 kB / 0.5813 GB, free: 8.801 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007181/0.1758, allocations: 0.5694 MB / 0.5819 GB, free: 8.219 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.542e-05/0.1759, allocations: 37.7 kB / 0.5819 GB, free: 8.176 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002941/0.1762, allocations: 355.9 kB / 0.5823 GB, free: 7.824 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001472/0.1763, allocations: 174.5 kB / 0.5824 GB, free: 7.652 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002128/0.1765, allocations: 134.6 kB / 0.5826 GB, free: 7.516 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002044/0.1768, allocations: 378.6 kB / 0.5829 GB, free: 7.137 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003969/0.1772, allocations: 229.9 kB / 0.5832 GB, free: 6.914 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006557/0.1778, allocations: 0.528 MB / 0.5837 GB, free: 6.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00108/0.1789, allocations: 0.7718 MB / 0.5844 GB, free: 5.352 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.1789, allocations: 4 kB / 0.5844 GB, free: 5.348 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001856/0.1808, allocations: 0.9372 MB / 0.5853 GB, free: 4.398 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.1808, allocations: 8 kB / 0.5854 GB, free: 4.391 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.1808, allocations: 8 kB / 0.5854 GB, free: 4.383 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001103/0.1819, allocations: 270.7 kB / 0.5856 GB, free: 4.117 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004168/0.1824, allocations: 127.8 kB / 0.5857 GB, free: 3.992 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001085/0.1835, allocations: 0.8728 MB / 0.5866 GB, free: 3.094 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004735/0.184, allocations: 23.98 kB / 0.5866 GB, free: 3.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.686e-05/0.184, allocations: 36 kB / 0.5866 GB, free: 3.035 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003743/0.1844, allocations: 245.6 kB / 0.5869 GB, free: 2.785 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001426/0.1846, allocations: 71.56 kB / 0.5869 GB, free: 2.715 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001455/0.186, allocations: 0.7076 MB / 0.5876 GB, free: 2.008 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.569e-05/0.1861, allocations: 12 kB / 0.5877 GB, free: 1.996 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.846e-06/0.1861, allocations: 0 / 0.5877 GB, free: 1.996 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.377e-05/0.1861, allocations: 3.984 kB / 0.5877 GB, free: 1.992 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002366/0.1885, allocations: 1.401 MB / 0.589 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.764e-06/0.1885, allocations: 4 kB / 0.589 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009963/0.1895, allocations: 191.7 kB / 0.5892 GB, free: 328 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002628/0.1898, allocations: 72.92 kB / 0.5893 GB, free: 252 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.951e-05/0.1898, allocations: 12 kB / 0.5893 GB, free: 240 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002713/0.1925, allocations: 2.99 MB / 0.5922 GB, free: 12.96 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.655e-06/0.1926, allocations: 7.969 kB / 0.5922 GB, free: 12.96 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001776/0.1944, allocations: 1.001 MB / 0.5932 GB, free: 11.91 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003684/0.1948, allocations: 200.6 kB / 0.5934 GB, free: 11.7 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.532e-05/0.1949, allocations: 20.06 kB / 0.5934 GB, free: 11.68 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003874/0.1953, allocations: 15.98 kB / 0.5934 GB, free: 11.66 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001305/0.1954, allocations: 39.89 kB / 0.5935 GB, free: 11.62 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.987e-05/0.1955, allocations: 19.98 kB / 0.5935 GB, free: 11.6 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005822/0.196, allocations: 419 kB / 0.5939 GB, free: 11.19 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.174e-06/0.196, allocations: 3.938 kB / 0.5939 GB, free: 11.18 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007936/0.1968, allocations: 211.8 kB / 0.5941 GB, free: 10.98 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002377/0.1992, allocations: 1.668 MB / 0.5957 GB, free: 9.266 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001298/0.2005, allocations: 0.6007 MB / 0.5963 GB, free: 8.668 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.2006, allocations: 0 / 0.5963 GB, free: 8.668 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001234/0.2018, allocations: 490.8 kB / 0.5968 GB, free: 8.176 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001781/0.2036, allocations: 373.5 kB / 0.5971 GB, free: 7.82 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00998/0.2136, allocations: 6.566 MB / 0.6035 GB, free: 0.8672 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2244/0.4381, allocations: 0.9247 MB / 0.6044 GB, free: 62.33 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008182/0.4389, allocations: 206.8 kB / 0.6046 GB, free: 62.32 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003408/0.4393, allocations: 238 kB / 0.6049 GB, free: 62.32 MB / 462.1 MB Notification: Performance of SimCode: time 1.182e-06/0.4393, allocations: 0 / 0.6049 GB, free: 62.32 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07699/0.5163, allocations: 22.22 MB / 0.6266 GB, free: 54.93 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.21/13.73, allocations: 8.281 kB / 0.6266 GB, free: 54.93 MB / 462.1 MB " [Timeout remaining time 646] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.815391535055824] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.p', 'volume.medium.T'] 13.83173900807742 13.840657758 13.680788928 Calling exit ...