Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegStep") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001051/0.001051, allocations: 181.9 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.541/1.541, allocations: 194.3 MB / 207.5 MB, free: 3.445 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001639/0.001639, allocations: 115.6 kB / 252.6 MB, free: 4.801 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2484/0.2484, allocations: 39.95 MB / 337.5 MB, free: 472 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.503e-05/3.506e-05, allocations: 0 / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1301, allocations: 54.86 MB / 455.1 MB, free: 14.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4531/0.5833, allocations: 79.08 MB / 0.5217 GB, free: 10.3 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000177/0.5835, allocations: 64.41 kB / 0.5218 GB, free: 10.3 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00142/0.5849, allocations: 0.6178 MB / 0.5224 GB, free: 9.98 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.5849, allocations: 0 / 0.5224 GB, free: 9.98 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.5849, allocations: 0 / 0.5224 GB, free: 9.98 MB / 346.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.0002169/0.5852, allocations: 321.3 kB / 0.5227 GB, free: 9.633 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.5852, allocations: 11.53 kB / 0.5227 GB, free: 9.633 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.115e-05/0.5853, allocations: 3.953 kB / 0.5227 GB, free: 9.629 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.19e-05/0.5853, allocations: 167 kB / 0.5228 GB, free: 9.426 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.5854, allocations: 0 / 0.5228 GB, free: 9.426 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.571e-05/0.5854, allocations: 9.531 kB / 0.5228 GB, free: 9.426 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.692e-05/0.5855, allocations: 33.36 kB / 0.5229 GB, free: 9.395 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.5855, allocations: 0 / 0.5229 GB, free: 9.395 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.5855, allocations: 3.984 kB / 0.5229 GB, free: 9.391 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.5856, allocations: 0 / 0.5229 GB, free: 9.391 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.407e-05/0.5856, allocations: 14.45 kB / 0.5229 GB, free: 9.383 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001273/0.5857, allocations: 152 kB / 0.523 GB, free: 9.195 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000173/0.5859, allocations: 40.61 kB / 0.5231 GB, free: 9.168 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.433e-05/0.586, allocations: 8.609 kB / 0.5231 GB, free: 9.16 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002811/0.5862, allocations: 118.4 kB / 0.5232 GB, free: 9.062 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.76e-05/0.5863, allocations: 38 kB / 0.5232 GB, free: 9.023 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.283e-06/0.5863, allocations: 0 / 0.5232 GB, free: 9.023 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0009865/0.5873, allocations: 161.9 kB / 0.5234 GB, free: 8.98 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.732e-05/0.5873, allocations: 55.25 kB / 0.5234 GB, free: 8.918 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.837e-05/0.5874, allocations: 88.95 kB / 0.5235 GB, free: 8.824 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.928e-06/0.5874, allocations: 29.83 kB / 0.5236 GB, free: 8.789 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.379e-05/0.5874, allocations: 80.14 kB / 0.5236 GB, free: 8.707 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.557e-05/0.5874, allocations: 17.81 kB / 0.5237 GB, free: 8.699 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.519e-06/0.5874, allocations: 0 / 0.5237 GB, free: 8.699 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.505e-05/0.5875, allocations: 314.4 kB / 0.524 GB, free: 8.387 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.332e-05/0.5875, allocations: 7.719 kB / 0.524 GB, free: 8.387 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.882e-05/0.5876, allocations: 13.92 kB / 0.524 GB, free: 8.387 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.591e-05/0.5876, allocations: 11.25 kB / 0.524 GB, free: 8.383 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.5876, allocations: 0 / 0.524 GB, free: 8.383 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.898e-05/0.5877, allocations: 66.55 kB / 0.524 GB, free: 8.344 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.5877, allocations: 13.92 kB / 0.5241 GB, free: 8.34 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.5877, allocations: 0 / 0.5241 GB, free: 8.34 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.5878, allocations: 0 / 0.5241 GB, free: 8.34 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.5879, allocations: 15.88 kB / 0.5241 GB, free: 8.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.5879, allocations: 0 / 0.5241 GB, free: 8.34 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.816e-05/0.588, allocations: 10.09 kB / 0.5241 GB, free: 8.34 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.588, allocations: 3.953 kB / 0.5241 GB, free: 8.336 MB / 346.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 4.905e-05/0.588, allocations: 112.5 kB / 0.5242 GB, free: 8.223 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.238e-06/0.5881, allocations: 3.906 kB / 0.5242 GB, free: 8.223 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001503/0.5882, allocations: 71.19 kB / 0.5243 GB, free: 8.184 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.5882, allocations: 2.625 kB / 0.5243 GB, free: 8.184 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.5882, allocations: 0 / 0.5243 GB, free: 8.184 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.5882, allocations: 0 / 0.5243 GB, free: 8.184 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004713/0.5887, allocations: 343.1 kB / 0.5246 GB, free: 7.867 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.5887, allocations: 0 / 0.5246 GB, free: 7.867 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/0.5888, allocations: 24.78 kB / 0.5246 GB, free: 7.867 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.5889, allocations: 0 / 0.5246 GB, free: 7.867 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.228e-06/0.5889, allocations: 0 / 0.5246 GB, free: 7.867 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.5889, allocations: 4.031 kB / 0.5246 GB, free: 7.863 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.5889, allocations: 7.922 kB / 0.5246 GB, free: 7.859 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001305/0.589, allocations: 170.5 kB / 0.5248 GB, free: 7.703 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.387e-05/0.5891, allocations: 77.11 kB / 0.5249 GB, free: 7.609 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.5891, allocations: 0 / 0.5249 GB, free: 7.609 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.5892, allocations: 21.72 kB / 0.5249 GB, free: 7.602 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.519e-05/0.5892, allocations: 2.859 kB / 0.5249 GB, free: 7.602 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.5892, allocations: 3.906 kB / 0.5249 GB, free: 7.602 MB / 346.7 MB Notification: Performance of sorting global known variables: time 1.728e-05/0.5892, allocations: 75.28 kB / 0.525 GB, free: 7.527 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5892, allocations: 0 / 0.525 GB, free: 7.527 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000197/0.5895, allocations: 11.38 kB / 0.525 GB, free: 7.527 MB / 346.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.0001543/0.5896, allocations: 99.91 kB / 0.5251 GB, free: 7.438 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001039/0.5897, allocations: 33.73 kB / 0.5251 GB, free: 7.434 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.5897, allocations: 3.938 kB / 0.5251 GB, free: 7.43 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.675e-05/0.5898, allocations: 15.16 kB / 0.5251 GB, free: 7.43 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001286/0.5899, allocations: 6.625 kB / 0.5251 GB, free: 7.43 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003538/0.5903, allocations: 88.81 kB / 0.5252 GB, free: 7.355 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001776/0.5904, allocations: 0.6837 MB / 0.5259 GB, free: 6.656 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.112e-05/0.5905, allocations: 4.062 kB / 0.5259 GB, free: 6.652 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.597e-05/0.5906, allocations: 14.67 kB / 0.5259 GB, free: 6.645 MB / 346.7 MB Notification: Performance of SimCode: time 6.81e-07/0.5906, allocations: 3.938 kB / 0.5259 GB, free: 6.641 MB / 346.7 MB Notification: Performance of Templates: time 0.003078/0.5936, allocations: 0.5942 MB / 0.5265 GB, free: 6.215 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1)