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) 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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001735/0.001735, allocations: 103.5 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001389/0.001389, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.464/1.464, allocations: 227.4 MB / 246.8 MB, free: 10.5 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.2412/0.2412, allocations: 46.11 MB / 344.2 MB, free: 11.56 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.002415/0.002415, allocations: 81.91 kB / 417.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1381, allocations: 62.45 MB / 480.2 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.01112/0.1493, allocations: 4.596 MB / 484.8 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009214/0.1585, allocations: 4.014 MB / 488.8 MB, free: 12.48 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002726/0.1589, allocations: 7.938 kB / 488.8 MB, free: 12.47 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004691/0.1594, allocations: 47.67 kB / 488.9 MB, free: 12.43 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003591/0.163, allocations: 0.7305 MB / 489.6 MB, free: 11.69 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006536/0.1637, allocations: 136.6 kB / 489.7 MB, free: 11.56 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008631/0.1646, allocations: 370.1 kB / 490.1 MB, free: 11.2 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.313e-05/0.1647, allocations: 13.67 kB / 490.1 MB, free: 11.19 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003876/0.1651, allocations: 147.5 kB / 490.3 MB, free: 11.04 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004259/0.1655, allocations: 143.5 kB / 490.4 MB, free: 10.9 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.887e-05/0.1656, allocations: 12 kB / 490.4 MB, free: 10.89 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00178/0.1674, allocations: 423.5 kB / 490.8 MB, free: 10.48 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000145/0.1676, allocations: 55.73 kB / 490.9 MB, free: 10.42 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002256/0.1678, allocations: 99.52 kB / 491 MB, free: 10.32 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001415/0.1692, allocations: 471.1 kB / 491.4 MB, free: 9.863 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.269e-06/0.1693, allocations: 0 / 491.4 MB, free: 9.863 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.1693, allocations: 0 / 491.4 MB, free: 9.863 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.797e-06/0.1693, allocations: 0 / 491.4 MB, free: 9.863 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.001877/0.1712, allocations: 0.5931 MB / 492 MB, free: 9.219 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/0.1712, allocations: 8.031 kB / 492 MB, free: 9.211 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001097/0.1714, allocations: 58.73 kB / 492.1 MB, free: 9.145 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002728/0.1717, allocations: 28.73 kB / 492.1 MB, free: 9.117 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004277/0.1721, allocations: 232 kB / 492.3 MB, free: 8.852 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002127/0.1723, allocations: 127.9 kB / 492.5 MB, free: 8.703 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.219e-05/0.1724, allocations: 24.12 kB / 492.5 MB, free: 8.68 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009089/0.1733, allocations: 319.6 kB / 492.8 MB, free: 8.34 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.1734, allocations: 8 kB / 492.8 MB, free: 8.332 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.086e-05/0.1734, allocations: 12 kB / 492.8 MB, free: 8.32 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.252e-05/0.1735, allocations: 4 kB / 492.8 MB, free: 8.316 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001485/0.175, allocations: 0.7391 MB / 493.6 MB, free: 7.578 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.00239/0.1774, allocations: 1.308 MB / 494.9 MB, free: 6.152 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005958/0.178, allocations: 163.8 kB / 495 MB, free: 5.984 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002489/0.1783, allocations: 85.47 kB / 495.1 MB, free: 5.898 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004418/0.1827, allocations: 2.81 MB / 497.9 MB, free: 2.559 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.264e-05/0.1828, allocations: 38.56 kB / 498 MB, free: 2.512 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 2.584e-06/0.1828, allocations: 0 / 498 MB, free: 2.512 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005033/0.1833, allocations: 121.2 kB / 498.1 MB, free: 2.387 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.979e-05/0.1834, allocations: 55.41 kB / 498.1 MB, free: 2.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003346/0.1837, allocations: 223.9 kB / 498.4 MB, free: 2.094 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.768e-05/0.1838, allocations: 25.7 kB / 498.4 MB, free: 2.062 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002319/0.184, allocations: 218.6 kB / 498.6 MB, free: 1.844 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.206e-05/0.1841, allocations: 43.39 kB / 498.6 MB, free: 1.801 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000175/0.1843, allocations: 85.94 kB / 498.7 MB, free: 1.711 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000211/0.1845, allocations: 330.8 kB / 499 MB, free: 1.379 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001614/0.1847, allocations: 52.78 kB / 499.1 MB, free: 1.328 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005327/0.1853, allocations: 343.2 kB / 499.4 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008202/0.1861, allocations: 444.6 kB / 499.9 MB, free: 268 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.565e-05/0.1862, allocations: 4 kB / 499.9 MB, free: 264 kB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001126/0.1873, allocations: 381.3 kB / 0.4885 GB, free: 15.88 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.145e-05/0.1873, allocations: 12 kB / 0.4885 GB, free: 15.87 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.278e-05/0.1874, allocations: 11.94 kB / 0.4885 GB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.095e-05/0.1874, allocations: 19.94 kB / 0.4886 GB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004589/0.1879, allocations: 99.77 kB / 0.4887 GB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.778e-05/0.188, allocations: 20.5 kB / 0.4887 GB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004844/0.1885, allocations: 47.44 kB / 0.4887 GB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-05/0.1886, allocations: 35.98 kB / 0.4887 GB, free: 15.64 MB / 382.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.0002251/0.1888, allocations: 153.6 kB / 0.4889 GB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.749e-05/0.1889, allocations: 15.81 kB / 0.4889 GB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004842/0.1894, allocations: 148.4 kB / 0.4891 GB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.133e-05/0.1895, allocations: 7.984 kB / 0.4891 GB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.1895, allocations: 0 / 0.4891 GB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.1895, allocations: 0 / 0.4891 GB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008202/0.1903, allocations: 412.8 kB / 0.4895 GB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.1903, allocations: 0 / 0.4895 GB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/0.1904, allocations: 12 kB / 0.4895 GB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.1905, allocations: 0 / 0.4895 GB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.902e-05/0.1905, allocations: 7.984 kB / 0.4895 GB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.592e-06/0.1905, allocations: 4.062 kB / 0.4895 GB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1905, allocations: 0 / 0.4895 GB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003507/0.1909, allocations: 205.9 kB / 0.4897 GB, free: 14.58 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000142/0.191, allocations: 100.8 kB / 0.4898 GB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.206e-05/0.1911, allocations: 4 kB / 0.4898 GB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002781/0.1914, allocations: 7.984 kB / 0.4898 GB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.896e-05/0.1915, allocations: 11.97 kB / 0.4898 GB, free: 14.44 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.641e-05/0.1915, allocations: 11.98 kB / 0.4898 GB, free: 14.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002376/0.1918, allocations: 152.7 kB / 0.4899 GB, free: 14.28 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1918, allocations: 4 kB / 0.49 GB, free: 14.28 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000958/0.1928, allocations: 99.86 kB / 0.49 GB, free: 14.18 MB / 382.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.00113/0.1939, allocations: 0.7888 MB / 0.4908 GB, free: 13.35 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004779/0.1944, allocations: 182 kB / 0.491 GB, free: 13.18 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.1944, allocations: 0 / 0.491 GB, free: 13.18 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.712e-05/0.1945, allocations: 19.94 kB / 0.491 GB, free: 13.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000695/0.1952, allocations: 38.47 kB / 0.491 GB, free: 13.12 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005327/0.2006, allocations: 2.799 MB / 0.4938 GB, free: 9.941 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005996/0.2012, allocations: 0.7245 MB / 0.4945 GB, free: 9.188 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005001/0.2017, allocations: 59.3 kB / 0.4945 GB, free: 9.133 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001451/0.2019, allocations: 59.42 kB / 0.4946 GB, free: 9.074 MB / 382.1 MB Notification: Performance of SimCode: time 1.032e-06/0.2019, allocations: 0 / 0.4946 GB, free: 9.074 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03378/0.2357, allocations: 5.16 MB / 0.4996 GB, free: 4.043 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.069/8.305, allocations: 3.938 kB / 0.4996 GB, free: 4.039 MB / 382.1 MB (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 --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)