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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.001119/0.001119, allocations: 169.9 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.186/1.186, allocations: 170.6 MB / 183.8 MB, free: 11.5 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001661/0.001661, allocations: 107.4 kB / 223.2 MB, free: 4.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1806/0.1806, allocations: 38 MB / 300.4 MB, free: 5.348 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.77e-05/4.773e-05, allocations: 4 kB / 357 MB, free: 32.34 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09992/0.09998, allocations: 48.71 MB / 405.7 MB, free: 15.66 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8187/0.9188, allocations: 363.5 MB / 0.7512 GB, free: 19.14 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002623/0.9191, allocations: 72.14 kB / 0.7512 GB, free: 19.1 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04057/0.9597, allocations: 18.8 MB / 0.7696 GB, free: 3.488 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.875e-06/0.9598, allocations: 0 / 0.7696 GB, free: 3.488 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.228e-05/0.9598, allocations: 4 kB / 0.7696 GB, free: 3.484 MB / 426.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.0009814/0.9608, allocations: 0.5637 MB / 0.7701 GB, free: 2.898 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.9608, allocations: 8.031 kB / 0.7702 GB, free: 2.891 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001347/0.961, allocations: 27.8 kB / 0.7702 GB, free: 2.863 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002297/0.9612, allocations: 229.7 kB / 0.7704 GB, free: 2.609 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001234/0.9613, allocations: 130.7 kB / 0.7705 GB, free: 2.465 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.909e-05/0.9614, allocations: 23.62 kB / 0.7705 GB, free: 2.449 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004217/0.9618, allocations: 315.7 kB / 0.7708 GB, free: 2.191 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.9618, allocations: 0 / 0.7708 GB, free: 2.191 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.868e-05/0.9619, allocations: 11.06 kB / 0.7709 GB, free: 2.188 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.235e-05/0.9619, allocations: 8 kB / 0.7709 GB, free: 2.18 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005788/0.9625, allocations: 0.735 MB / 0.7716 GB, free: 1.555 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00108/0.9636, allocations: 1.228 MB / 0.7728 GB, free: 396 kB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002763/0.9639, allocations: 155.7 kB / 0.7729 GB, free: 272 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.81e-05/0.964, allocations: 75.39 kB / 0.773 GB, free: 216 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2511/1.215, allocations: 2.998 MB / 0.7759 GB, free: 146.6 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/1.215, allocations: 40.81 kB / 0.776 GB, free: 146.6 MB / 426.7 MB Notification: Performance of pre-optimization done (n=13): time 1.834e-06/1.215, allocations: 0 / 0.776 GB, free: 146.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003115/1.215, allocations: 109.2 kB / 0.7761 GB, free: 146.6 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.318e-05/1.215, allocations: 54.16 kB / 0.7761 GB, free: 146.5 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001835/1.216, allocations: 189.7 kB / 0.7763 GB, free: 146.4 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.889e-05/1.216, allocations: 29.38 kB / 0.7763 GB, free: 146.4 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/1.216, allocations: 214.6 kB / 0.7765 GB, free: 146.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.086e-05/1.216, allocations: 53.22 kB / 0.7766 GB, free: 146.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.711e-05/1.216, allocations: 7.969 kB / 0.7766 GB, free: 146.2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.458e-05/1.216, allocations: 331.8 kB / 0.7769 GB, free: 145.9 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.884e-05/1.216, allocations: 43.62 kB / 0.777 GB, free: 145.9 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002093/1.216, allocations: 329.8 kB / 0.7773 GB, free: 145.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/1.216, allocations: 98.72 kB / 0.7774 GB, free: 145.5 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/1.216, allocations: 3.344 kB / 0.7774 GB, free: 145.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005575/1.217, allocations: 374.8 kB / 0.7777 GB, free: 145.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.816e-05/1.217, allocations: 10.58 kB / 0.7777 GB, free: 145.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.645e-05/1.217, allocations: 10.81 kB / 0.7777 GB, free: 145.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.982e-05/1.217, allocations: 14.28 kB / 0.7778 GB, free: 145.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000269/1.217, allocations: 101.1 kB / 0.7779 GB, free: 145.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.982e-05/1.217, allocations: 20.42 kB / 0.7779 GB, free: 145.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00026/1.218, allocations: 57.14 kB / 0.7779 GB, free: 145.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.939e-05/1.218, allocations: 32.41 kB / 0.778 GB, free: 145.5 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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 7.999e-05/1.218, allocations: 134.8 kB / 0.7781 GB, free: 145.4 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.469e-05/1.218, allocations: 18.94 kB / 0.7781 GB, free: 145.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003138/1.218, allocations: 174.7 kB / 0.7783 GB, free: 145.3 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/1.218, allocations: 3.172 kB / 0.7783 GB, free: 145.3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/1.218, allocations: 0 / 0.7783 GB, free: 145.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/1.218, allocations: 2.047 kB / 0.7783 GB, free: 145.3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004168/1.219, allocations: 432.4 kB / 0.7787 GB, free: 144.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/1.219, allocations: 1.438 kB / 0.7787 GB, free: 144.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.598e-05/1.219, allocations: 15.55 kB / 0.7787 GB, free: 144.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/1.219, allocations: 2.531 kB / 0.7787 GB, free: 144.9 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/1.219, allocations: 2.312 kB / 0.7787 GB, free: 144.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/1.219, allocations: 1.766 kB / 0.7787 GB, free: 144.9 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/1.219, allocations: 1.219 kB / 0.7787 GB, free: 144.9 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001737/1.219, allocations: 267 kB / 0.779 GB, free: 144.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.436e-05/1.219, allocations: 109 kB / 0.7791 GB, free: 144.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.19e-05/1.219, allocations: 7.359 kB / 0.7791 GB, free: 144.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001475/1.219, allocations: 8.344 kB / 0.7791 GB, free: 144.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.411e-05/1.219, allocations: 14.72 kB / 0.7791 GB, free: 144.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/1.219, allocations: 10 kB / 0.7791 GB, free: 144.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001103/1.219, allocations: 146.7 kB / 0.7792 GB, free: 144.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.41e-07/1.219, allocations: 0 / 0.7792 GB, free: 144.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005058/1.22, allocations: 106.9 kB / 0.7794 GB, free: 144.5 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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.0002563/1.22, allocations: 158.8 kB / 0.7795 GB, free: 144.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000292/1.221, allocations: 171.3 kB / 0.7797 GB, free: 144.4 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.221, allocations: 1.594 kB / 0.7797 GB, free: 144.4 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.282e-05/1.221, allocations: 25.77 kB / 0.7797 GB, free: 144.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003203/1.221, allocations: 45.03 kB / 0.7797 GB, free: 144.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0117/1.233, allocations: 4.748 MB / 0.7844 GB, free: 144 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001985/1.233, allocations: 0.7313 MB / 0.7851 GB, free: 143.3 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000271/1.233, allocations: 49.08 kB / 0.7851 GB, free: 143.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.904e-05/1.233, allocations: 26.27 kB / 0.7852 GB, free: 143.3 MB / 426.7 MB Notification: Performance of SimCode: time 1.573e-06/1.233, allocations: 0 / 0.7852 GB, free: 143.3 MB / 426.7 MB Notification: Performance of Templates: time 0.006253/1.239, allocations: 2.826 MB / 0.7879 GB, free: 143.1 MB / 426.7 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)