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.00109/0.001091, allocations: 171.5 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.674/1.674, allocations: 170.6 MB / 178.7 MB, free: 15.57 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.001828/0.001828, allocations: 103.5 kB / 218 MB, free: 8.34 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.2374/0.2374, allocations: 37.98 MB / 295.1 MB, free: 9.48 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.338e-05/3.339e-05, allocations: 2.188 kB / 350 MB, free: 37.03 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1253, allocations: 48.73 MB / 398.7 MB, free: 5.336 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4425/0.5679, allocations: 72.01 MB / 470.7 MB, free: 18.06 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002996/0.5683, allocations: 69.97 kB / 470.8 MB, free: 18.05 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00197/0.5703, allocations: 0.6127 MB / 471.4 MB, free: 17.73 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.5703, allocations: 0 / 471.4 MB, free: 17.73 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.5703, allocations: 4.938 kB / 471.4 MB, free: 17.73 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.0002475/0.5706, allocations: 311 kB / 471.7 MB, free: 17.39 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.914e-05/0.5706, allocations: 12.12 kB / 471.7 MB, free: 17.39 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.976e-05/0.5707, allocations: 4 kB / 471.8 MB, free: 17.39 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.5708, allocations: 169.2 kB / 471.9 MB, free: 17.19 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.5708, allocations: 3.953 kB / 471.9 MB, free: 17.18 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.447e-05/0.5709, allocations: 1.312 kB / 471.9 MB, free: 17.18 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.692e-05/0.571, allocations: 5.922 kB / 471.9 MB, free: 17.18 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.548e-05/0.5711, allocations: 34.95 kB / 472 MB, free: 17.15 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.5711, allocations: 0 / 472 MB, free: 17.15 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.5711, allocations: 5.594 kB / 472 MB, free: 17.15 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.5711, allocations: 1.734 kB / 472 MB, free: 17.15 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001499/0.5713, allocations: 130.2 kB / 472.1 MB, free: 16.99 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001895/0.5715, allocations: 37.48 kB / 472.1 MB, free: 16.96 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.498e-05/0.5715, allocations: 10.06 kB / 472.1 MB, free: 16.95 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003366/0.5719, allocations: 124.4 kB / 472.3 MB, free: 16.85 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/0.5719, allocations: 36.16 kB / 472.3 MB, free: 16.81 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.5719, allocations: 0 / 472.3 MB, free: 16.81 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.00119/0.5731, allocations: 174.8 kB / 472.5 MB, free: 16.77 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.612e-05/0.5731, allocations: 52.75 kB / 472.5 MB, free: 16.71 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.315e-05/0.5732, allocations: 87.64 kB / 472.6 MB, free: 16.62 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.172e-05/0.5732, allocations: 26.27 kB / 472.6 MB, free: 16.59 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.882e-05/0.5732, allocations: 80.14 kB / 472.7 MB, free: 16.5 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.787e-05/0.5733, allocations: 15.06 kB / 472.7 MB, free: 16.49 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.871e-06/0.5733, allocations: 0 / 472.7 MB, free: 16.49 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.622e-05/0.5734, allocations: 317.5 kB / 473 MB, free: 16.18 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.52e-05/0.5734, allocations: 12.31 kB / 473 MB, free: 16.18 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.121e-05/0.5734, allocations: 6.344 kB / 473.1 MB, free: 16.18 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.386e-05/0.5735, allocations: 17.14 kB / 473.1 MB, free: 16.18 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.5735, allocations: 1.125 kB / 473.1 MB, free: 16.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001283/0.5737, allocations: 63.11 kB / 473.1 MB, free: 16.15 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.5737, allocations: 9.547 kB / 473.1 MB, free: 16.14 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.249e-06/0.5737, allocations: 4 kB / 473.1 MB, free: 16.14 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.5737, allocations: 1.125 kB / 473.1 MB, free: 16.14 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.5739, allocations: 20.2 kB / 473.2 MB, free: 16.14 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.5739, allocations: 0 / 473.2 MB, free: 16.14 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.574e-05/0.574, allocations: 9.422 kB / 473.2 MB, free: 16.14 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.255e-06/0.574, allocations: 1.406 kB / 473.2 MB, free: 16.14 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 6.392e-05/0.574, allocations: 106.3 kB / 473.3 MB, free: 16.03 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.004e-05/0.5741, allocations: 1.516 kB / 473.3 MB, free: 16.03 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002036/0.5743, allocations: 88.66 kB / 473.4 MB, free: 15.98 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.5743, allocations: 1.594 kB / 473.4 MB, free: 15.98 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.5743, allocations: 0 / 473.4 MB, free: 15.98 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.5743, allocations: 0.5156 kB / 473.4 MB, free: 15.98 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000551/0.5749, allocations: 316.9 kB / 473.7 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.5749, allocations: 1.812 kB / 473.7 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001116/0.575, allocations: 24.81 kB / 473.7 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.575, allocations: 0 / 473.7 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.575, allocations: 1.781 kB / 473.7 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.575, allocations: 1.031 kB / 473.7 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.575, allocations: 5.953 kB / 473.7 MB, free: 15.69 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001711/0.5752, allocations: 174.7 kB / 473.9 MB, free: 15.53 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.797e-05/0.5753, allocations: 82.62 kB / 474 MB, free: 15.43 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.914e-05/0.5753, allocations: 2.312 kB / 474 MB, free: 15.43 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.5754, allocations: 7.188 kB / 474 MB, free: 15.43 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.16e-05/0.5754, allocations: 9.562 kB / 474 MB, free: 15.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/0.5754, allocations: 7.094 kB / 474 MB, free: 15.43 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.286e-05/0.5755, allocations: 75.28 kB / 474.1 MB, free: 15.36 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5755, allocations: 1.281 kB / 474.1 MB, free: 15.36 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002172/0.5757, allocations: 7.062 kB / 474.1 MB, free: 15.36 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.0001514/0.5759, allocations: 100.7 kB / 474.2 MB, free: 15.27 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001217/0.576, allocations: 27.14 kB / 474.2 MB, free: 15.26 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.576, allocations: 0 / 474.2 MB, free: 15.26 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.363e-05/0.576, allocations: 19.58 kB / 474.2 MB, free: 15.26 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001483/0.5762, allocations: 5.703 kB / 474.2 MB, free: 15.25 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003718/0.5766, allocations: 89.27 kB / 474.3 MB, free: 15.18 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007917/0.5774, allocations: 0.6788 MB / 475 MB, free: 30.48 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.858e-05/0.5775, allocations: 9.578 kB / 475 MB, free: 30.48 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.603e-05/0.5775, allocations: 10.92 kB / 475 MB, free: 30.47 MB / 346.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5775, allocations: 0 / 475 MB, free: 30.47 MB / 346.7 MB Notification: Performance of Templates: time 0.002734/0.5802, allocations: 0.5739 MB / 475.6 MB, free: 30.42 MB / 346.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)