Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegStep.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.TestRegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegStep") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001532/0.001532, 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.285/1.285, allocations: 170.6 MB / 183.8 MB, free: 11.43 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.001668/0.001668, allocations: 111.1 kB / 223.2 MB, free: 4.043 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.176/0.176, allocations: 38 MB / 300.4 MB, free: 5.344 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.752e-05/2.766e-05, allocations: 0 / 357 MB, free: 32.33 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0876/0.08765, allocations: 48.71 MB / 405.7 MB, free: 15.66 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3914/0.4791, allocations: 72.69 MB / 478.4 MB, free: 18.56 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000297/0.4794, allocations: 63.67 kB / 478.5 MB, free: 18.56 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002184/0.4816, allocations: 0.6183 MB / 479.1 MB, free: 18.24 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.043e-06/0.4816, allocations: 1.094 kB / 479.1 MB, free: 18.24 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.805e-06/0.4817, allocations: 1.656 kB / 479.1 MB, free: 18.24 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002528/0.4819, allocations: 311.2 kB / 479.4 MB, free: 17.9 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.633e-05/0.482, allocations: 13.59 kB / 479.4 MB, free: 17.89 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.522e-05/0.482, allocations: 2.234 kB / 479.4 MB, free: 17.89 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001095/0.4822, allocations: 169.4 kB / 479.6 MB, free: 17.7 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.4822, allocations: 5.328 kB / 479.6 MB, free: 17.69 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.029e-05/0.4822, allocations: 1.594 kB / 479.6 MB, free: 17.69 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.4823, allocations: 31.86 kB / 479.6 MB, free: 17.66 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.4824, allocations: 0 / 479.6 MB, free: 17.66 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.4824, allocations: 0 / 479.6 MB, free: 17.66 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.4824, allocations: 1.094 kB / 479.6 MB, free: 17.66 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.637e-05/0.4825, allocations: 12.34 kB / 479.6 MB, free: 17.66 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001588/0.4826, allocations: 154.8 kB / 479.8 MB, free: 17.47 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001968/0.4828, allocations: 41.88 kB / 479.8 MB, free: 17.44 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.288e-05/0.4829, allocations: 9.797 kB / 479.8 MB, free: 17.43 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003783/0.4833, allocations: 120.8 kB / 479.9 MB, free: 17.33 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.735e-05/0.4833, allocations: 32.53 kB / 480 MB, free: 17.29 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.483e-06/0.4833, allocations: 0.625 kB / 480 MB, free: 17.29 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.001489/0.4848, allocations: 165.1 kB / 480.1 MB, free: 17.25 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/0.4849, allocations: 54.34 kB / 480.2 MB, free: 17.19 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.198e-05/0.4849, allocations: 86.22 kB / 480.3 MB, free: 17.1 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.485, allocations: 29.83 kB / 480.3 MB, free: 17.06 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.826e-05/0.485, allocations: 81.42 kB / 480.4 MB, free: 16.98 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.4e-05/0.485, allocations: 15.33 kB / 480.4 MB, free: 16.97 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.232e-06/0.4851, allocations: 0 / 480.4 MB, free: 16.97 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.864e-05/0.4851, allocations: 314 kB / 480.7 MB, free: 16.66 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.178e-05/0.4852, allocations: 13.94 kB / 480.7 MB, free: 16.66 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.532e-05/0.4852, allocations: 10.72 kB / 480.7 MB, free: 16.66 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.809e-05/0.4853, allocations: 12.83 kB / 480.7 MB, free: 16.66 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.4853, allocations: 0 / 480.7 MB, free: 16.66 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001441/0.4854, allocations: 71.05 kB / 480.8 MB, free: 16.61 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.4855, allocations: 5.531 kB / 480.8 MB, free: 16.61 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.4855, allocations: 0 / 480.8 MB, free: 16.61 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.4855, allocations: 1 kB / 480.8 MB, free: 16.61 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001724/0.4857, allocations: 17.47 kB / 480.8 MB, free: 16.61 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.4857, allocations: 0 / 480.8 MB, free: 16.61 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001215/0.4858, allocations: 8.5 kB / 480.8 MB, free: 16.61 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/0.4859, allocations: 3.062 kB / 480.8 MB, free: 16.61 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 (5): * Single equations (assignments): 5 * 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 5.768e-05/0.486, allocations: 113.7 kB / 480.9 MB, free: 16.5 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.632e-05/0.486, allocations: 6.141 kB / 480.9 MB, free: 16.49 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002262/0.4862, allocations: 72.77 kB / 481 MB, free: 16.46 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.4862, allocations: 4.953 kB / 481 MB, free: 16.45 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.4863, allocations: 0 / 481 MB, free: 16.45 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.4863, allocations: 0 / 481 MB, free: 16.45 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006861/0.487, allocations: 345.8 kB / 481.4 MB, free: 16.14 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.487, allocations: 0 / 481.4 MB, free: 16.14 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002038/0.4872, allocations: 16.12 kB / 481.4 MB, free: 16.14 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.4873, allocations: 1.031 kB / 481.4 MB, free: 16.14 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.4873, allocations: 7.062 kB / 481.4 MB, free: 16.13 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.4873, allocations: 5.188 kB / 481.4 MB, free: 16.13 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.4873, allocations: 1.219 kB / 481.4 MB, free: 16.13 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001661/0.4875, allocations: 175.8 kB / 481.6 MB, free: 15.97 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.532e-05/0.4875, allocations: 80.27 kB / 481.6 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/0.4875, allocations: 1.094 kB / 481.6 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001708/0.4877, allocations: 13.23 kB / 481.7 MB, free: 15.87 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.386e-05/0.4878, allocations: 4.562 kB / 481.7 MB, free: 15.87 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.4878, allocations: 2.844 kB / 481.7 MB, free: 15.87 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.882e-05/0.4878, allocations: 75.28 kB / 481.7 MB, free: 15.8 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4878, allocations: 1.25 kB / 481.7 MB, free: 15.8 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003747/0.4882, allocations: 11.78 kB / 481.7 MB, free: 15.8 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.0001535/0.4884, allocations: 100 kB / 481.8 MB, free: 15.7 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001434/0.4885, allocations: 37.5 kB / 481.9 MB, free: 15.7 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4885, allocations: 1.219 kB / 481.9 MB, free: 15.7 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.475e-05/0.4886, allocations: 10.47 kB / 481.9 MB, free: 15.7 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001919/0.4888, allocations: 8.359 kB / 481.9 MB, free: 15.69 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000449/0.4893, allocations: 92.17 kB / 482 MB, free: 15.61 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001459/0.4894, allocations: 0.6847 MB / 482.7 MB, free: 14.91 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.965e-05/0.4895, allocations: 6.469 kB / 482.7 MB, free: 14.91 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.593e-05/0.4896, allocations: 13.34 kB / 482.7 MB, free: 14.9 MB / 330.7 MB Notification: Performance of SimCode: time 5.01e-07/0.4896, allocations: 5.094 kB / 482.7 MB, free: 14.9 MB / 330.7 MB Notification: Performance of Templates: time 0.003684/0.4933, allocations: 0.582 MB / 483.3 MB, free: 14.86 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1)