Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.Test01RegFun3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002298/0.002298, 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.368/1.368, allocations: 170.6 MB / 183.8 MB, free: 11.48 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.001538/0.001538, allocations: 110.8 kB / 223.2 MB, free: 4.109 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.1652/0.1652, allocations: 38 MB / 300.4 MB, free: 5.348 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.916e-05/2.918e-05, allocations: 11.98 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09014/0.09018, allocations: 48.71 MB / 405.7 MB, free: 15.65 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.336/0.4262, allocations: 74.03 MB / 479.7 MB, free: 18.57 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002332/0.4265, allocations: 67.73 kB / 479.8 MB, free: 18.57 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03394/0.4604, allocations: 8.2 MB / 488 MB, free: 17.82 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.4605, allocations: 0 / 488 MB, free: 17.82 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.283e-06/0.4605, allocations: 0 / 488 MB, free: 17.82 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003653/0.4609, allocations: 338.5 kB / 488.3 MB, free: 17.46 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.99e-05/0.461, allocations: 15.69 kB / 488.3 MB, free: 17.45 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.811e-05/0.461, allocations: 3.875 kB / 488.3 MB, free: 17.45 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.4612, allocations: 159.1 kB / 488.5 MB, free: 17.26 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.656e-05/0.4612, allocations: 3.953 kB / 488.5 MB, free: 17.25 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.473e-05/0.4613, allocations: 0 / 488.5 MB, free: 17.25 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.4614, allocations: 32.3 kB / 488.5 MB, free: 17.22 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.4615, allocations: 0 / 488.5 MB, free: 17.22 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.7e-05/0.4615, allocations: 0 / 488.5 MB, free: 17.22 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.4615, allocations: 3.938 kB / 488.5 MB, free: 17.22 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.105e-05/0.4616, allocations: 7.531 kB / 488.5 MB, free: 17.22 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001792/0.4618, allocations: 147.9 kB / 488.7 MB, free: 17.03 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.041e-05/0.4618, allocations: 26.28 kB / 488.7 MB, free: 17 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.021e-05/0.4619, allocations: 12.14 kB / 488.7 MB, free: 16.99 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.534e-05/0.4619, allocations: 0 / 488.7 MB, free: 16.99 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.462, allocations: 33.66 kB / 488.8 MB, free: 16.95 MB / 330.7 MB Notification: Performance of pre-optimization done (n=1): time 1.693e-06/0.462, allocations: 0 / 488.8 MB, free: 16.95 MB / 330.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001582/0.4622, allocations: 37.45 kB / 488.8 MB, free: 16.91 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.558e-05/0.4622, allocations: 55.34 kB / 488.8 MB, free: 16.85 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.083e-05/0.4623, allocations: 88.38 kB / 488.9 MB, free: 16.76 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.003e-05/0.4624, allocations: 33.52 kB / 489 MB, free: 16.72 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.305e-05/0.4624, allocations: 80.14 kB / 489 MB, free: 16.64 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.333e-05/0.4625, allocations: 4.562 kB / 489.1 MB, free: 16.64 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-06/0.4625, allocations: 0 / 489.1 MB, free: 16.64 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.441e-05/0.4625, allocations: 314.1 kB / 489.4 MB, free: 16.32 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.755e-05/0.4626, allocations: 7.969 kB / 489.4 MB, free: 16.32 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.175e-05/0.4626, allocations: 0 / 489.4 MB, free: 16.32 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.964e-05/0.4626, allocations: 0 / 489.4 MB, free: 16.32 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.4626, allocations: 3.906 kB / 489.4 MB, free: 16.32 MB / 330.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.192e-05/0.4627, allocations: 37.34 kB / 489.4 MB, free: 16.29 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.4628, allocations: 10.73 kB / 489.4 MB, free: 16.29 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/0.4628, allocations: 0 / 489.4 MB, free: 16.29 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.4628, allocations: 0 / 489.4 MB, free: 16.29 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.968e-06/0.4628, allocations: 4.094 kB / 489.4 MB, free: 16.28 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.248e-06/0.4629, allocations: 4 kB / 489.4 MB, free: 16.28 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.483e-05/0.4629, allocations: 3.906 kB / 489.4 MB, free: 16.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-06/0.4629, allocations: 3.906 kB / 489.4 MB, free: 16.27 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 5.707e-05/0.463, allocations: 104.9 kB / 489.5 MB, free: 16.16 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.345e-05/0.463, allocations: 3.953 kB / 489.5 MB, free: 16.16 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001919/0.4632, allocations: 43.2 kB / 489.6 MB, free: 16.13 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-05/0.4633, allocations: 4.031 kB / 489.6 MB, free: 16.12 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.4633, allocations: 3.844 kB / 489.6 MB, free: 16.12 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.4633, allocations: 0 / 489.6 MB, free: 16.12 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.983e-05/0.4634, allocations: 144.5 kB / 489.7 MB, free: 15.94 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.356e-06/0.4634, allocations: 3.875 kB / 489.7 MB, free: 15.94 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.092e-06/0.4634, allocations: 3.938 kB / 489.7 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.4635, allocations: 3.375 kB / 489.7 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.078e-06/0.4635, allocations: 3.953 kB / 489.7 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.4635, allocations: 0 / 489.7 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.4635, allocations: 0 / 489.7 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.865e-05/0.4636, allocations: 64.42 kB / 489.8 MB, free: 15.86 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.017e-05/0.4636, allocations: 79.27 kB / 489.9 MB, free: 15.77 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.4637, allocations: 3.875 kB / 489.9 MB, free: 15.77 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.595e-05/0.4637, allocations: 3.953 kB / 489.9 MB, free: 15.76 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.437e-05/0.4638, allocations: 0 / 489.9 MB, free: 15.76 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/0.4638, allocations: 7.109 kB / 489.9 MB, free: 15.76 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.58e-05/0.4638, allocations: 79.31 kB / 490 MB, free: 15.68 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.4638, allocations: 0 / 490 MB, free: 15.68 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004376/0.4643, allocations: 54.44 kB / 490 MB, free: 15.67 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0003607/0.4647, allocations: 142.9 kB / 490.2 MB, free: 15.57 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001079/0.4648, allocations: 36.7 kB / 490.2 MB, free: 15.54 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.4648, allocations: 0 / 490.2 MB, free: 15.54 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.96e-05/0.4649, allocations: 33.52 kB / 490.2 MB, free: 15.5 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001534/0.465, allocations: 3.234 kB / 490.2 MB, free: 15.5 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002578/0.4653, allocations: 52.91 kB / 490.3 MB, free: 15.44 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001487/0.4655, allocations: 0.6764 MB / 491 MB, free: 14.74 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.952e-05/0.4655, allocations: 3.984 kB / 491 MB, free: 14.74 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.282e-05/0.4655, allocations: 11.19 kB / 491 MB, free: 14.73 MB / 330.7 MB Notification: Performance of SimCode: time 1.914e-06/0.4656, allocations: 0 / 491 MB, free: 14.73 MB / 330.7 MB Notification: Performance of Templates: time 0.004665/0.4702, allocations: 0.84 MB / 491.8 MB, free: 14.66 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test01RegFun3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1)