Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.LinearColdWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.LinearColdWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.LinearColdWater") translateModel(ModelicaTest.Media.TestAllProperties.LinearColdWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 192.3 kB / 16.13 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.752/1.752, allocations: 205.1 MB / 222 MB, free: 4.773 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.398/0.398, allocations: 37.98 MB / 307.3 MB, free: 10.02 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 68.31 kB / 374.5 MB, free: 15.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.159, allocations: 56.47 MB / 431 MB, free: 7.09 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.00682/0.1659, allocations: 4.593 MB / 435.6 MB, free: 2.465 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00444/0.1704, allocations: 4.072 MB / 439.7 MB, free: 14.38 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001965/0.1707, allocations: 0 / 439.7 MB, free: 14.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003216/0.171, allocations: 43.8 kB / 439.7 MB, free: 14.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002028/0.173, allocations: 0.6685 MB / 440.4 MB, free: 13.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003402/0.1734, allocations: 123.8 kB / 440.5 MB, free: 13.54 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004983/0.1739, allocations: 454 kB / 441 MB, free: 13.1 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.607e-05/0.174, allocations: 13.67 kB / 441 MB, free: 13.08 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001682/0.1741, allocations: 135.5 kB / 441.1 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002111/0.1744, allocations: 159.4 kB / 441.3 MB, free: 12.79 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.916e-05/0.1744, allocations: 8 kB / 441.3 MB, free: 12.79 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001072/0.1755, allocations: 435.3 kB / 441.7 MB, free: 12.36 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.413e-05/0.1756, allocations: 43.86 kB / 441.7 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001186/0.1757, allocations: 107.5 kB / 441.8 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007196/0.1764, allocations: 471.1 kB / 442.3 MB, free: 11.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1764, allocations: 4 kB / 442.3 MB, free: 11.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.1764, allocations: 0 / 442.3 MB, free: 11.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.1765, allocations: 0 / 442.3 MB, free: 11.75 MB / 382.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.001074/0.1775, allocations: 0.6048 MB / 442.9 MB, free: 11.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.1776, allocations: 8.031 kB / 442.9 MB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001491/0.1777, allocations: 24.75 kB / 442.9 MB, free: 11.06 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002201/0.178, allocations: 232 kB / 443.2 MB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001414/0.1781, allocations: 127.9 kB / 443.3 MB, free: 10.65 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.121e-05/0.1782, allocations: 16.38 kB / 443.3 MB, free: 10.63 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005428/0.1787, allocations: 339.6 kB / 443.6 MB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.1787, allocations: 0 / 443.6 MB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.012e-05/0.1788, allocations: 12 kB / 443.7 MB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.951e-05/0.1788, allocations: 11.92 kB / 443.7 MB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007521/0.1795, allocations: 0.7313 MB / 444.4 MB, free: 9.516 MB / 382.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.001392/0.1809, allocations: 1.308 MB / 445.7 MB, free: 8.094 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003659/0.1813, allocations: 171.7 kB / 445.9 MB, free: 7.918 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000142/0.1815, allocations: 89.36 kB / 446 MB, free: 7.828 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0025/0.184, allocations: 2.802 MB / 448.8 MB, free: 4.496 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.184, allocations: 42.5 kB / 448.8 MB, free: 4.445 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.253e-06/0.1841, allocations: 4 kB / 448.8 MB, free: 4.441 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002851/0.1843, allocations: 117.3 kB / 448.9 MB, free: 4.32 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.344e-05/0.1844, allocations: 51.41 kB / 449 MB, free: 4.258 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/0.1846, allocations: 223.9 kB / 449.2 MB, free: 4.031 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.1846, allocations: 25.7 kB / 449.2 MB, free: 4 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.1847, allocations: 218.6 kB / 449.4 MB, free: 3.781 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.233e-05/0.1848, allocations: 43.39 kB / 449.5 MB, free: 3.738 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.871e-05/0.1849, allocations: 93.88 kB / 449.6 MB, free: 3.641 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.185, allocations: 326.8 kB / 449.9 MB, free: 3.312 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.397e-05/0.185, allocations: 48.83 kB / 449.9 MB, free: 3.262 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002271/0.1853, allocations: 339.2 kB / 450.3 MB, free: 2.785 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003769/0.1857, allocations: 452.6 kB / 450.7 MB, free: 2.195 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.1857, allocations: 4 kB / 450.7 MB, free: 2.191 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004904/0.1862, allocations: 377.8 kB / 451.1 MB, free: 1.816 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.1862, allocations: 12 kB / 451.1 MB, free: 1.805 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.1862, allocations: 8 kB / 451.1 MB, free: 1.797 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.41e-05/0.1863, allocations: 24 kB / 451.1 MB, free: 1.773 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00022/0.1865, allocations: 99.83 kB / 451.2 MB, free: 1.676 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.048e-05/0.1865, allocations: 27.86 kB / 451.2 MB, free: 1.648 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002396/0.1868, allocations: 51.44 kB / 451.3 MB, free: 1.598 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.097e-05/0.1868, allocations: 28 kB / 451.3 MB, free: 1.57 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.0001162/0.1869, allocations: 149.6 kB / 451.5 MB, free: 1.414 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.731e-05/0.187, allocations: 23.8 kB / 451.5 MB, free: 1.391 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002766/0.1873, allocations: 144.5 kB / 451.6 MB, free: 1.227 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/0.1873, allocations: 3.938 kB / 451.6 MB, free: 1.223 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.1873, allocations: 4 kB / 451.6 MB, free: 1.219 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.1873, allocations: 0 / 451.6 MB, free: 1.219 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004793/0.1878, allocations: 412.8 kB / 452 MB, free: 0.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1878, allocations: 0 / 452 MB, free: 0.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.805e-05/0.1879, allocations: 12 kB / 452.1 MB, free: 0.7383 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.1879, allocations: 0 / 452.1 MB, free: 0.7383 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.1879, allocations: 4 kB / 452.1 MB, free: 0.7344 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1879, allocations: 96 / 452.1 MB, free: 0.7344 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.1879, allocations: 8 kB / 452.1 MB, free: 0.7266 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002218/0.1881, allocations: 201.8 kB / 452.3 MB, free: 0.5039 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.358e-05/0.1882, allocations: 105 kB / 452.4 MB, free: 392 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.676e-05/0.1883, allocations: 0 / 452.4 MB, free: 392 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001482/0.1884, allocations: 11.94 kB / 452.4 MB, free: 380 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.403e-05/0.1885, allocations: 15.91 kB / 452.4 MB, free: 364 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.1885, allocations: 8.062 kB / 452.4 MB, free: 356 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001417/0.1887, allocations: 152.5 kB / 452.5 MB, free: 204 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1887, allocations: 0 / 452.5 MB, free: 204 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.000546/0.1892, allocations: 95.94 kB / 452.6 MB, free: 108 kB / 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.2277/0.417, allocations: 153.7 kB / 452.8 MB, free: 54.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005445/0.4176, allocations: 175.9 kB / 453 MB, free: 54.27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.4176, allocations: 0 / 453 MB, free: 54.27 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.943e-05/0.4176, allocations: 22.03 kB / 453 MB, free: 54.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006153/0.4182, allocations: 49.25 kB / 453 MB, free: 54.27 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000964/0.4192, allocations: 0.6015 MB / 453.6 MB, free: 54 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001632/0.4194, allocations: 0.721 MB / 454.4 MB, free: 53.31 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002213/0.4196, allocations: 52.94 kB / 454.4 MB, free: 53.3 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.477e-05/0.4197, allocations: 27.61 kB / 454.4 MB, free: 53.29 MB / 382.1 MB Notification: Performance of SimCode: time 1.353e-06/0.4197, allocations: 0 / 454.4 MB, free: 53.29 MB / 382.1 MB Notification: Performance of Templates: time 0.00632/0.426, allocations: 3.011 MB / 457.4 MB, free: 53.07 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.LinearColdWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1)