Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) 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.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001558/0.001558, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001469/0.001469, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.476/1.476, allocations: 227.4 MB / 246.8 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2308/0.2308, allocations: 46.11 MB / 344.2 MB, free: 11.59 MB / 286.1 MB 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.003044/0.003044, allocations: 77.12 kB / 417.8 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1504, allocations: 62.45 MB / 480.2 MB, free: 5.176 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.008638/0.1591, allocations: 5.028 MB / 485.2 MB, free: 116 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006892/0.1661, allocations: 4.567 MB / 489.8 MB, free: 11.53 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002378/0.1664, allocations: 4 kB / 489.8 MB, free: 11.53 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003432/0.1668, allocations: 59.59 kB / 489.9 MB, free: 11.47 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002137/0.1689, allocations: 0.6564 MB / 490.5 MB, free: 10.81 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000421/0.1693, allocations: 152.7 kB / 490.7 MB, free: 10.66 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005529/0.1699, allocations: 374.1 kB / 491 MB, free: 10.3 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.413e-05/0.17, allocations: 13.67 kB / 491 MB, free: 10.29 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000246/0.1702, allocations: 151.5 kB / 491.2 MB, free: 10.14 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001987/0.1704, allocations: 123.5 kB / 491.3 MB, free: 10.02 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.071e-05/0.1705, allocations: 8 kB / 491.3 MB, free: 10.01 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001087/0.1716, allocations: 355.6 kB / 491.7 MB, free: 9.66 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.46e-05/0.1717, allocations: 43.81 kB / 491.7 MB, free: 9.617 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001494/0.1718, allocations: 111.5 kB / 491.8 MB, free: 9.508 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007605/0.1726, allocations: 431.2 kB / 492.2 MB, free: 9.086 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.1726, allocations: 0 / 492.2 MB, free: 9.086 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1726, allocations: 4 kB / 492.2 MB, free: 9.082 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.1726, allocations: 4 kB / 492.2 MB, free: 9.078 MB / 366.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.001171/0.1738, allocations: 0.5852 MB / 492.8 MB, free: 8.441 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.1739, allocations: 8.031 kB / 492.8 MB, free: 8.434 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.954e-05/0.1739, allocations: 58.73 kB / 492.9 MB, free: 8.367 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001581/0.1741, allocations: 28.73 kB / 492.9 MB, free: 8.34 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002853/0.1744, allocations: 232 kB / 493.2 MB, free: 8.074 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001475/0.1746, allocations: 127.9 kB / 493.3 MB, free: 7.926 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.587e-05/0.1746, allocations: 28.12 kB / 493.3 MB, free: 7.898 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005594/0.1752, allocations: 319.6 kB / 493.6 MB, free: 7.559 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.1752, allocations: 3.938 kB / 493.6 MB, free: 7.555 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.46e-05/0.1752, allocations: 16 kB / 493.6 MB, free: 7.539 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.215e-05/0.1753, allocations: 8 kB / 493.6 MB, free: 7.531 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008947/0.1762, allocations: 0.7352 MB / 494.4 MB, free: 6.797 MB / 366.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.001699/0.1779, allocations: 1.25 MB / 495.6 MB, free: 5.441 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003549/0.1782, allocations: 158 kB / 495.8 MB, free: 5.281 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001253/0.1784, allocations: 76.83 kB / 495.9 MB, free: 5.203 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002734/0.1811, allocations: 2.655 MB / 498.5 MB, free: 2.035 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.766e-05/0.1812, allocations: 38.56 kB / 498.6 MB, free: 1.988 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.743e-06/0.1812, allocations: 3.938 kB / 498.6 MB, free: 1.984 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007252/0.1819, allocations: 216.8 kB / 498.8 MB, free: 1.766 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/0.182, allocations: 55.41 kB / 498.8 MB, free: 1.699 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002123/0.1822, allocations: 218.5 kB / 499 MB, free: 1.477 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.647e-05/0.1822, allocations: 29.7 kB / 499.1 MB, free: 1.441 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001496/0.1824, allocations: 214.8 kB / 499.3 MB, free: 1.227 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.374e-05/0.1824, allocations: 47.36 kB / 499.3 MB, free: 1.18 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00016/0.1826, allocations: 85.94 kB / 499.4 MB, free: 1.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002419/0.1828, allocations: 326.8 kB / 499.7 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001129/0.183, allocations: 56.83 kB / 499.8 MB, free: 0.707 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003938/0.1834, allocations: 312.3 kB / 0.4884 GB, free: 280 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006152/0.184, allocations: 407.5 kB / 0.4888 GB, free: 15.74 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-06/0.184, allocations: 4 kB / 0.4888 GB, free: 15.74 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006847/0.1847, allocations: 368.9 kB / 0.4891 GB, free: 15.37 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.1847, allocations: 12 kB / 0.4891 GB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.949e-05/0.1847, allocations: 8 kB / 0.4891 GB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.543e-05/0.1848, allocations: 16.75 kB / 0.4891 GB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004739/0.1853, allocations: 115.8 kB / 0.4893 GB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.78e-05/0.1853, allocations: 15.94 kB / 0.4893 GB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000218/0.1855, allocations: 20 kB / 0.4893 GB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.105e-05/0.1856, allocations: 31.98 kB / 0.4893 GB, free: 15.16 MB / 382.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: 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.0001477/0.1857, allocations: 145.6 kB / 0.4895 GB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.632e-05/0.1858, allocations: 19.81 kB / 0.4895 GB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000337/0.1861, allocations: 150.9 kB / 0.4896 GB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-05/0.1861, allocations: 7.938 kB / 0.4896 GB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.1862, allocations: 3.938 kB / 0.4896 GB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1862, allocations: 0 / 0.4896 GB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006192/0.1868, allocations: 446.6 kB / 0.4901 GB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.1868, allocations: 3.938 kB / 0.4901 GB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001849/0.187, allocations: 27.98 kB / 0.4901 GB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.187, allocations: 0 / 0.4901 GB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.187, allocations: 3.984 kB / 0.4901 GB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.187, allocations: 7.938 kB / 0.4901 GB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.187, allocations: 0 / 0.4901 GB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002672/0.1873, allocations: 220.2 kB / 0.4903 GB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.952e-05/0.1874, allocations: 104.8 kB / 0.4904 GB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.819e-05/0.1875, allocations: 7.844 kB / 0.4904 GB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001987/0.1877, allocations: 12.11 kB / 0.4904 GB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.596e-05/0.1877, allocations: 11.98 kB / 0.4904 GB, free: 13.9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-05/0.1877, allocations: 8 kB / 0.4904 GB, free: 13.89 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001436/0.1879, allocations: 152.5 kB / 0.4906 GB, free: 13.74 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1879, allocations: 4 kB / 0.4906 GB, free: 13.74 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005753/0.1885, allocations: 99.98 kB / 0.4907 GB, free: 13.64 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 13 * 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.001001/0.1895, allocations: 0.8183 MB / 0.4915 GB, free: 12.79 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003791/0.1899, allocations: 185.9 kB / 0.4917 GB, free: 12.61 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.471e-06/0.1899, allocations: 0 / 0.4917 GB, free: 12.61 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.112e-05/0.19, allocations: 35.92 kB / 0.4917 GB, free: 12.58 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004854/0.1905, allocations: 62.72 kB / 0.4918 GB, free: 12.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003469/0.1939, allocations: 2.703 MB / 0.4944 GB, free: 9.492 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005933/0.1946, allocations: 0.7285 MB / 0.4951 GB, free: 8.734 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002852/0.1948, allocations: 54.78 kB / 0.4952 GB, free: 8.684 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001334/0.195, allocations: 67.41 kB / 0.4952 GB, free: 8.617 MB / 382.1 MB Notification: Performance of SimCode: time 6.01e-07/0.195, allocations: 0 / 0.4952 GB, free: 8.617 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03194/0.2269, allocations: 5.549 MB / 0.5006 GB, free: 3.199 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.205/8.432, allocations: 8.078 kB / 0.5007 GB, free: 3.195 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-05 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1)