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.007758/0.007758, allocations: 164.1 kB / 15.11 MB, free: 5.973 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.418/1.418, allocations: 170.8 MB / 186.6 MB, free: 1.043 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.001726/0.001726, allocations: 114.2 kB / 226.2 MB, free: 10.1 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.4149/0.4149, allocations: 38.04 MB / 303.7 MB, free: 42.37 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000394/0.000394, allocations: 12 kB / 362.9 MB, free: 5.605 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.134, allocations: 48.7 MB / 411.6 MB, free: 4.828 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.303/1.437, allocations: 363.6 MB / 0.757 GB, free: 116.4 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002541/1.437, allocations: 74.12 kB / 0.7571 GB, free: 116.4 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04465/1.482, allocations: 18.84 MB / 0.7755 GB, free: 114 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.134e-06/1.482, allocations: 0 / 0.7755 GB, free: 114 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.622e-05/1.482, allocations: 7.312 kB / 0.7755 GB, free: 114 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.001174/1.483, allocations: 0.5742 MB / 0.776 GB, free: 113.5 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.377e-05/1.483, allocations: 13.47 kB / 0.776 GB, free: 113.5 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001791/1.483, allocations: 25 kB / 0.7761 GB, free: 113.5 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002721/1.484, allocations: 230.7 kB / 0.7763 GB, free: 113.3 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001417/1.484, allocations: 127.6 kB / 0.7764 GB, free: 113.1 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.723e-05/1.484, allocations: 22.75 kB / 0.7764 GB, free: 113.1 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005213/1.484, allocations: 322.3 kB / 0.7767 GB, free: 113 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/1.484, allocations: 4 kB / 0.7767 GB, free: 113 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.444e-05/1.484, allocations: 13.84 kB / 0.7767 GB, free: 113 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.774e-05/1.484, allocations: 13.11 kB / 0.7768 GB, free: 113 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007217/1.485, allocations: 0.7348 MB / 0.7775 GB, free: 112.8 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001231/1.486, allocations: 1.228 MB / 0.7787 GB, free: 111.7 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003112/1.487, allocations: 168.2 kB / 0.7788 GB, free: 111.7 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002155/1.489, allocations: 2.788 MB / 0.7816 GB, free: 108.7 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/1.489, allocations: 33.72 kB / 0.7816 GB, free: 108.7 MB / 426.7 MB Notification: Performance of pre-optimization done (n=13): time 1.613e-06/1.489, allocations: 0 / 0.7816 GB, free: 108.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003009/1.489, allocations: 122.5 kB / 0.7817 GB, free: 108.6 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.996e-05/1.489, allocations: 55.34 kB / 0.7818 GB, free: 108.6 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/1.489, allocations: 188.7 kB / 0.7819 GB, free: 108.4 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/1.489, allocations: 29.64 kB / 0.782 GB, free: 108.4 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.52e-05/1.489, allocations: 213.4 kB / 0.7822 GB, free: 108.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.435e-05/1.49, allocations: 52.47 kB / 0.7822 GB, free: 108.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.16e-05/1.49, allocations: 11.31 kB / 0.7822 GB, free: 108.2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.504e-05/1.49, allocations: 332.4 kB / 0.7825 GB, free: 107.9 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.224e-05/1.49, allocations: 41.84 kB / 0.7826 GB, free: 107.8 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002063/1.49, allocations: 335.1 kB / 0.7829 GB, free: 107.4 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001281/1.49, allocations: 100.6 kB / 0.783 GB, free: 107.4 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/1.49, allocations: 2.938 kB / 0.783 GB, free: 107.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000467/1.491, allocations: 376.3 kB / 0.7834 GB, free: 107.3 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/1.491, allocations: 10.09 kB / 0.7834 GB, free: 107.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/1.491, allocations: 8.969 kB / 0.7834 GB, free: 107.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.538e-05/1.491, allocations: 15.78 kB / 0.7834 GB, free: 107.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00024/1.491, allocations: 102.1 kB / 0.7835 GB, free: 107.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.732e-05/1.491, allocations: 17.59 kB / 0.7835 GB, free: 107.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002299/1.491, allocations: 54.84 kB / 0.7836 GB, free: 107.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.462e-05/1.491, allocations: 27.41 kB / 0.7836 GB, free: 107.2 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 () * 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.0001337/1.491, allocations: 158.6 kB / 0.7837 GB, free: 107.1 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.977e-05/1.491, allocations: 17.81 kB / 0.7838 GB, free: 107.1 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003074/1.492, allocations: 167.4 kB / 0.7839 GB, free: 107 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/1.492, allocations: 3.875 kB / 0.7839 GB, free: 107 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/1.492, allocations: 3.938 kB / 0.7839 GB, free: 107 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/1.492, allocations: 0 / 0.7839 GB, free: 107 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003676/1.492, allocations: 434.7 kB / 0.7843 GB, free: 106.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/1.492, allocations: 0 / 0.7843 GB, free: 106.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.172e-05/1.492, allocations: 16.94 kB / 0.7844 GB, free: 106.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/1.492, allocations: 3.531 kB / 0.7844 GB, free: 106.6 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/1.492, allocations: 96 / 0.7844 GB, free: 106.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/1.492, allocations: 2.969 kB / 0.7844 GB, free: 106.6 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/1.492, allocations: 6.859 kB / 0.7844 GB, free: 106.6 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001748/1.492, allocations: 265.7 kB / 0.7846 GB, free: 106.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.946e-05/1.493, allocations: 121.4 kB / 0.7847 GB, free: 106.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.216e-05/1.493, allocations: 6.328 kB / 0.7847 GB, free: 106.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001462/1.493, allocations: 8.969 kB / 0.7848 GB, free: 106.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.215e-05/1.493, allocations: 7.672 kB / 0.7848 GB, free: 106.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/1.493, allocations: 9.062 kB / 0.7848 GB, free: 106.2 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001428/1.493, allocations: 148.4 kB / 0.7849 GB, free: 106.1 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/1.493, allocations: 0 / 0.7849 GB, free: 106.1 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005655/1.493, allocations: 95.12 kB / 0.785 GB, free: 106.1 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 () * Number of clocked 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.0002764/1.494, allocations: 158.1 kB / 0.7852 GB, free: 105.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003109/1.494, allocations: 169.2 kB / 0.7853 GB, free: 105.9 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/1.494, allocations: 0 / 0.7853 GB, free: 105.9 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.801e-05/1.494, allocations: 32.98 kB / 0.7853 GB, free: 105.9 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003346/1.494, allocations: 39.61 kB / 0.7854 GB, free: 105.9 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01159/1.506, allocations: 5.077 MB / 0.7903 GB, free: 103.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002535/1.506, allocations: 0.7275 MB / 0.7911 GB, free: 103.1 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003226/1.507, allocations: 58.28 kB / 0.7911 GB, free: 103.1 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.19e-05/1.507, allocations: 23.44 kB / 0.7911 GB, free: 103.1 MB / 426.7 MB Notification: Performance of SimCode: time 1.803e-06/1.507, allocations: 0 / 0.7911 GB, free: 103.1 MB / 426.7 MB Notification: Performance of Templates: time 0.006848/1.514, allocations: 2.815 MB / 0.7939 GB, free: 101.7 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)