Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.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.Fluid.TestUtilities.TestRegFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001399/0.001399, allocations: 171.3 kB / 7.638 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.639/1.639, allocations: 170.6 MB / 178.7 MB, free: 15.59 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.001725/0.001726, allocations: 95.52 kB / 218 MB, free: 8.348 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.2053/0.2053, allocations: 37.98 MB / 295.1 MB, free: 9.492 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.953e-05/1.954e-05, allocations: 4.891 kB / 350 MB, free: 36.97 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1273, allocations: 48.72 MB / 398.7 MB, free: 5.348 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4116/0.539, allocations: 72.13 MB / 470.9 MB, free: 17.79 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002595/0.5394, allocations: 64.38 kB / 470.9 MB, free: 17.79 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002796/0.5422, allocations: 0.8963 MB / 471.8 MB, free: 17.45 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.5422, allocations: 1.844 kB / 471.8 MB, free: 17.45 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.5422, allocations: 0 / 471.8 MB, free: 17.45 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0002129/0.5424, allocations: 330.8 kB / 472.1 MB, free: 17.09 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.5425, allocations: 9.406 kB / 472.2 MB, free: 17.09 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.286e-05/0.5425, allocations: 3.75 kB / 472.2 MB, free: 17.09 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.5426, allocations: 170.2 kB / 472.3 MB, free: 16.89 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.5427, allocations: 5.203 kB / 472.3 MB, free: 16.89 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.269e-05/0.5427, allocations: 3.406 kB / 472.3 MB, free: 16.89 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00014/0.5428, allocations: 58.47 kB / 472.4 MB, free: 16.88 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.748e-05/0.5429, allocations: 45.39 kB / 472.4 MB, free: 16.85 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.5429, allocations: 0 / 472.4 MB, free: 16.85 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.543, allocations: 1.031 kB / 472.4 MB, free: 16.85 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.543, allocations: 1.375 kB / 472.4 MB, free: 16.85 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001519/0.5431, allocations: 152.7 kB / 472.6 MB, free: 16.68 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001153/0.5433, allocations: 67.72 kB / 472.6 MB, free: 16.66 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.337e-05/0.5433, allocations: 20.92 kB / 472.7 MB, free: 16.65 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002754/0.5436, allocations: 263 kB / 472.9 MB, free: 16.36 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.5436, allocations: 31.78 kB / 473 MB, free: 16.32 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 1.473e-06/0.5436, allocations: 0 / 473 MB, free: 16.32 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002804/0.5439, allocations: 81.94 kB / 473 MB, free: 16.29 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.356e-05/0.544, allocations: 52.06 kB / 473.1 MB, free: 16.23 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.382e-05/0.544, allocations: 90.28 kB / 473.2 MB, free: 16.13 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.544, allocations: 27.08 kB / 473.2 MB, free: 16.1 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.081e-05/0.5441, allocations: 80.14 kB / 473.3 MB, free: 16.02 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.512e-05/0.5441, allocations: 34.84 kB / 473.3 MB, free: 16 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-06/0.5441, allocations: 0 / 473.3 MB, free: 16 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.237e-05/0.5442, allocations: 317.8 kB / 473.6 MB, free: 15.68 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.67e-05/0.5442, allocations: 12.09 kB / 473.6 MB, free: 15.68 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.72e-05/0.5443, allocations: 13.62 kB / 473.6 MB, free: 15.68 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001058/0.5444, allocations: 30.03 kB / 473.7 MB, free: 15.68 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.5444, allocations: 5.344 kB / 473.7 MB, free: 15.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001639/0.5446, allocations: 77.91 kB / 473.8 MB, free: 15.64 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.5446, allocations: 8.953 kB / 473.8 MB, free: 15.64 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.5446, allocations: 1.281 kB / 473.8 MB, free: 15.64 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.5446, allocations: 0.6094 kB / 473.8 MB, free: 15.64 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.5447, allocations: 24.67 kB / 473.8 MB, free: 15.63 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.5447, allocations: 1.781 kB / 473.8 MB, free: 15.63 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.317e-05/0.5448, allocations: 0.7969 kB / 473.8 MB, free: 15.63 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.5448, allocations: 2.375 kB / 473.8 MB, free: 15.63 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * 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 6.241e-05/0.5449, allocations: 106 kB / 473.9 MB, free: 15.52 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.189e-05/0.5449, allocations: 7.469 kB / 473.9 MB, free: 15.52 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000242/0.5451, allocations: 98.53 kB / 474 MB, free: 15.48 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.5451, allocations: 1.031 kB / 474 MB, free: 15.48 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.5451, allocations: 0.9688 kB / 474 MB, free: 15.48 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.5452, allocations: 3.641 kB / 474 MB, free: 15.48 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001042/0.5453, allocations: 153.9 kB / 474.2 MB, free: 15.31 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.5453, allocations: 0 / 474.2 MB, free: 15.31 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.207e-05/0.5454, allocations: 15.03 kB / 474.2 MB, free: 15.31 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.5454, allocations: 5.781 kB / 474.2 MB, free: 15.31 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.5454, allocations: 3.625 kB / 474.2 MB, free: 15.31 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.5454, allocations: 1.938 kB / 474.2 MB, free: 15.31 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/0.5454, allocations: 3.953 kB / 474.2 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001922/0.5456, allocations: 106.1 kB / 474.3 MB, free: 15.24 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.735e-05/0.5456, allocations: 79.36 kB / 474.4 MB, free: 15.14 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.5457, allocations: 1.25 kB / 474.4 MB, free: 15.14 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.166e-05/0.5457, allocations: 0 / 474.4 MB, free: 15.14 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.929e-05/0.5457, allocations: 15.38 kB / 474.4 MB, free: 15.14 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.798e-06/0.5457, allocations: 9.047 kB / 474.4 MB, free: 15.13 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.949e-05/0.5458, allocations: 81.16 kB / 474.5 MB, free: 15.05 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5458, allocations: 0 / 474.5 MB, free: 15.05 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002178/0.546, allocations: 21.06 kB / 474.5 MB, free: 15.05 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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): 10 * Array equations: 0 * 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.0002029/0.5462, allocations: 105.8 kB / 474.6 MB, free: 14.96 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001288/0.5464, allocations: 46.88 kB / 474.6 MB, free: 14.95 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.5464, allocations: 0 / 474.6 MB, free: 14.95 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.195e-05/0.5464, allocations: 27.52 kB / 474.7 MB, free: 14.95 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001142/0.5465, allocations: 4.438 kB / 474.7 MB, free: 14.95 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002835/0.5468, allocations: 90.66 kB / 474.8 MB, free: 14.88 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007531/0.5476, allocations: 0.6871 MB / 475.5 MB, free: 30.18 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.045e-05/0.5476, allocations: 6.609 kB / 475.5 MB, free: 30.18 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.732e-05/0.5477, allocations: 15.52 kB / 475.5 MB, free: 30.16 MB / 346.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5477, allocations: 3.938 kB / 475.5 MB, free: 30.16 MB / 346.7 MB Notification: Performance of Templates: time 0.003161/0.5509, allocations: 0.6005 MB / 476.1 MB, free: 30.09 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1)