Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.LinearColdWater.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01506/0.01507, allocations: 163.6 kB / 15.12 MB, free: 5.953 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.771/1.771, allocations: 170.8 MB / 186.7 MB, free: 1.113 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001754/0.001754, allocations: 106.8 kB / 226.2 MB, free: 10.1 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4837/0.4837, allocations: 38.06 MB / 303.7 MB, free: 42.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006735/0.0006737, allocations: 8 kB / 363 MB, free: 5.496 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1387, allocations: 48.71 MB / 411.7 MB, free: 4.703 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.009356/0.1481, allocations: 3.998 MB / 415.7 MB, free: 0.6797 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008807/0.157, allocations: 3.713 MB / 419.4 MB, free: 12.96 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002354/0.1573, allocations: 4 kB / 419.4 MB, free: 12.96 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003342/0.1576, allocations: 39.73 kB / 419.5 MB, free: 12.92 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002981/0.1606, allocations: 0.5866 MB / 420 MB, free: 12.33 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007136/0.1614, allocations: 119.8 kB / 420.2 MB, free: 12.21 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009042/0.1623, allocations: 390.1 kB / 420.5 MB, free: 11.83 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.602e-05/0.1624, allocations: 13.69 kB / 420.6 MB, free: 11.82 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003422/0.1627, allocations: 135.5 kB / 420.7 MB, free: 11.68 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004883/0.1632, allocations: 147.5 kB / 420.8 MB, free: 11.54 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.76e-05/0.1633, allocations: 8 kB / 420.8 MB, free: 11.53 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001827/0.1652, allocations: 323.6 kB / 421.2 MB, free: 11.21 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001345/0.1653, allocations: 43.81 kB / 421.2 MB, free: 11.17 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001262/0.1655, allocations: 61.58 kB / 421.3 MB, free: 11.11 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009924/0.1665, allocations: 299.6 kB / 421.5 MB, free: 10.81 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.1665, allocations: 0 / 421.5 MB, free: 10.81 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.564e-06/0.1665, allocations: 0 / 421.5 MB, free: 10.81 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.563e-06/0.1665, allocations: 4 kB / 421.6 MB, free: 10.81 MB / 330.7 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.002185/0.1687, allocations: 0.55 MB / 422.1 MB, free: 10.21 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.1e-05/0.1688, allocations: 8.031 kB / 422.1 MB, free: 10.2 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001414/0.169, allocations: 62.53 kB / 422.2 MB, free: 10.13 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003062/0.1693, allocations: 31.67 kB / 422.2 MB, free: 10.1 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004766/0.1698, allocations: 222.8 kB / 422.4 MB, free: 9.84 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002936/0.1701, allocations: 127.3 kB / 422.5 MB, free: 9.691 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.293e-05/0.1702, allocations: 24 kB / 422.6 MB, free: 9.668 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001189/0.1714, allocations: 327.7 kB / 422.9 MB, free: 9.32 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.078e-05/0.1715, allocations: 3.938 kB / 422.9 MB, free: 9.316 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.316e-05/0.1715, allocations: 12 kB / 422.9 MB, free: 9.305 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.768e-05/0.1716, allocations: 7.953 kB / 422.9 MB, free: 9.297 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001996/0.1736, allocations: 0.7391 MB / 423.6 MB, free: 8.559 MB / 330.7 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.00298/0.1766, allocations: 1.304 MB / 425 MB, free: 7.133 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006908/0.1774, allocations: 159.8 kB / 425.1 MB, free: 6.969 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003087/0.1777, allocations: 85.47 kB / 425.2 MB, free: 6.883 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005303/0.183, allocations: 2.806 MB / 428 MB, free: 3.547 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.048e-05/0.1831, allocations: 42.56 kB / 428 MB, free: 3.496 MB / 330.7 MB Notification: Performance of pre-optimization done (n=11): time 3.827e-06/0.1832, allocations: 3.938 kB / 428 MB, free: 3.492 MB / 330.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005839/0.1838, allocations: 121.2 kB / 428.2 MB, free: 3.367 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.644e-05/0.1838, allocations: 51.41 kB / 428.2 MB, free: 3.305 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00042/0.1843, allocations: 227.8 kB / 428.4 MB, free: 3.07 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.483e-05/0.1843, allocations: 25.7 kB / 428.5 MB, free: 3.039 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002415/0.1846, allocations: 218.6 kB / 428.7 MB, free: 2.82 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.064e-05/0.1847, allocations: 39.39 kB / 428.7 MB, free: 2.781 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.223e-05/0.1847, allocations: 16 kB / 428.7 MB, free: 2.766 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001999/0.185, allocations: 326.8 kB / 429 MB, free: 2.438 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001998/0.1852, allocations: 44.83 kB / 429.1 MB, free: 2.395 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005513/0.1857, allocations: 343.2 kB / 429.4 MB, free: 1.91 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003858/0.1862, allocations: 107.9 kB / 429.5 MB, free: 1.805 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.905e-05/0.1862, allocations: 4 kB / 429.5 MB, free: 1.801 MB / 330.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001388/0.1876, allocations: 377.6 kB / 429.9 MB, free: 1.426 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.165e-05/0.1877, allocations: 12 kB / 429.9 MB, free: 1.414 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.91e-05/0.1877, allocations: 8 kB / 429.9 MB, free: 1.406 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.658e-05/0.1878, allocations: 16 kB / 429.9 MB, free: 1.391 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007351/0.1885, allocations: 99.83 kB / 430 MB, free: 1.293 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.22e-05/0.1886, allocations: 15.94 kB / 430.1 MB, free: 1.277 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006483/0.1893, allocations: 71.3 kB / 430.1 MB, free: 1.207 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.912e-05/0.1894, allocations: 28.22 kB / 430.1 MB, free: 1.18 MB / 330.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002608/0.1896, allocations: 159.9 kB / 430.3 MB, free: 1.016 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001258/0.1898, allocations: 19.77 kB / 430.3 MB, free: 0.9961 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006588/0.1904, allocations: 148.4 kB / 430.5 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.34e-05/0.1905, allocations: 4 kB / 430.5 MB, free: 0.8359 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.1905, allocations: 0 / 430.5 MB, free: 0.8359 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.1905, allocations: 0 / 430.5 MB, free: 0.8359 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001022/0.1916, allocations: 408.9 kB / 430.9 MB, free: 380 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.636e-05/0.1916, allocations: 96 / 430.9 MB, free: 380 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002587/0.1919, allocations: 23.92 kB / 430.9 MB, free: 356 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.284e-05/0.1919, allocations: 4.031 kB / 430.9 MB, free: 352 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/0.192, allocations: 0 / 430.9 MB, free: 352 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.927e-06/0.192, allocations: 4 kB / 430.9 MB, free: 348 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.217e-06/0.192, allocations: 0 / 430.9 MB, free: 348 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003745/0.1924, allocations: 205.8 kB / 431.1 MB, free: 116 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.2819/0.4743, allocations: 100.3 kB / 431.2 MB, free: 46.8 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/0.4745, allocations: 3.344 kB / 431.2 MB, free: 46.8 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003054/0.4748, allocations: 5.484 kB / 431.2 MB, free: 46.8 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.628e-05/0.4749, allocations: 12.27 kB / 431.2 MB, free: 46.8 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.821e-05/0.4749, allocations: 3 kB / 431.2 MB, free: 46.8 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002144/0.4751, allocations: 152.6 kB / 431.4 MB, free: 46.72 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.743e-06/0.4752, allocations: 0.6562 kB / 431.4 MB, free: 46.72 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007203/0.4759, allocations: 98.02 kB / 431.5 MB, free: 46.72 MB / 330.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000614/0.4765, allocations: 0.7822 MB / 432.3 MB, free: 46.05 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004184/0.4769, allocations: 167.9 kB / 432.4 MB, free: 46.05 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.477, allocations: 2.781 kB / 432.4 MB, free: 46.05 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.06e-05/0.477, allocations: 28 kB / 432.4 MB, free: 46.05 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006663/0.4777, allocations: 42.06 kB / 432.5 MB, free: 46.05 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002768/0.4805, allocations: 1.444 MB / 433.9 MB, free: 45.14 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002064/0.4808, allocations: 0.7351 MB / 434.7 MB, free: 44.45 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004206/0.4812, allocations: 55.17 kB / 434.7 MB, free: 44.45 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001235/0.4813, allocations: 59.28 kB / 434.8 MB, free: 44.44 MB / 330.7 MB Notification: Performance of SimCode: time 1.052e-06/0.4813, allocations: 0 / 434.8 MB, free: 44.44 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03471/0.5161, allocations: 4.722 MB / 439.5 MB, free: 43.96 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002429/0.5164, allocations: 191.7 kB / 439.7 MB, free: 43.73 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.833/3.35, allocations: 0 / 439.7 MB, free: 43.73 MB / 330.7 MB