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.001029/0.001029, allocations: 177 kB / 7.652 MB, free: 1.426 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.564/1.564, allocations: 194.4 MB / 202.4 MB, free: 12.95 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.001643/0.001643, allocations: 105.1 kB / 247.4 MB, free: 15.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1907/0.1907, allocations: 39.96 MB / 332.2 MB, free: 0.6328 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.614e-05/1.617e-05, allocations: 4 kB / 393.3 MB, free: 3.441 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2661/0.2661, allocations: 54.88 MB / 448.2 MB, free: 13.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1031/0.3693, allocations: 78.4 MB / 0.5143 GB, free: 15.17 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001961/0.3695, allocations: 63.97 kB / 0.5143 GB, free: 15.11 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001621/0.3711, allocations: 0.6229 MB / 0.5149 GB, free: 14.48 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3712, allocations: 0 / 0.5149 GB, free: 14.48 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.3712, allocations: 4 kB / 0.5149 GB, free: 14.48 MB / 378.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.0002324/0.3714, allocations: 306.6 kB / 0.5152 GB, free: 14.13 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.3715, allocations: 12.03 kB / 0.5152 GB, free: 14.12 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.93e-05/0.3715, allocations: 7.859 kB / 0.5152 GB, free: 14.11 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/0.3716, allocations: 167 kB / 0.5154 GB, free: 13.91 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.3717, allocations: 0 / 0.5154 GB, free: 13.91 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.227e-05/0.3717, allocations: 4 kB / 0.5154 GB, free: 13.91 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.64e-05/0.3718, allocations: 12 kB / 0.5154 GB, free: 13.89 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.413e-05/0.3718, allocations: 29.7 kB / 0.5154 GB, free: 13.86 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.3718, allocations: 4 kB / 0.5154 GB, free: 13.86 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.3719, allocations: 7.922 kB / 0.5155 GB, free: 13.85 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.3719, allocations: 3.953 kB / 0.5155 GB, free: 13.84 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001358/0.372, allocations: 130.2 kB / 0.5156 GB, free: 13.68 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001828/0.3722, allocations: 38.55 kB / 0.5156 GB, free: 13.63 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.544e-05/0.3722, allocations: 12.86 kB / 0.5156 GB, free: 13.62 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002894/0.3725, allocations: 121.2 kB / 0.5157 GB, free: 13.48 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.088e-05/0.3726, allocations: 30.56 kB / 0.5158 GB, free: 13.44 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.3726, allocations: 0 / 0.5158 GB, free: 13.44 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.001048/0.3736, allocations: 169.5 kB / 0.5159 GB, free: 13.27 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.811e-05/0.3737, allocations: 51.41 kB / 0.516 GB, free: 13.21 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.728e-05/0.3737, allocations: 93 kB / 0.5161 GB, free: 13.11 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.3738, allocations: 25.7 kB / 0.5161 GB, free: 13.08 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.525e-05/0.3738, allocations: 80.14 kB / 0.5162 GB, free: 13 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.584e-05/0.3738, allocations: 11.72 kB / 0.5162 GB, free: 12.98 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-06/0.3738, allocations: 4 kB / 0.5162 GB, free: 12.98 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.374, allocations: 322.8 kB / 0.5165 GB, free: 12.66 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.067e-05/0.374, allocations: 4 kB / 0.5165 GB, free: 12.65 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.913e-05/0.374, allocations: 12 kB / 0.5165 GB, free: 12.64 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.521e-05/0.3741, allocations: 16.11 kB / 0.5165 GB, free: 12.62 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.3741, allocations: 4 kB / 0.5165 GB, free: 12.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001325/0.3742, allocations: 65.61 kB / 0.5166 GB, free: 12.55 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.3743, allocations: 4 kB / 0.5166 GB, free: 12.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.3743, allocations: 0 / 0.5166 GB, free: 12.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.3743, allocations: 4 kB / 0.5166 GB, free: 12.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.3744, allocations: 15.98 kB / 0.5166 GB, free: 12.53 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.3744, allocations: 3.984 kB / 0.5166 GB, free: 12.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.078e-05/0.3745, allocations: 7.984 kB / 0.5166 GB, free: 12.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.3745, allocations: 8 kB / 0.5166 GB, free: 12.51 MB / 378.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.872e-05/0.3746, allocations: 110.6 kB / 0.5167 GB, free: 12.39 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.877e-06/0.3746, allocations: 0 / 0.5167 GB, free: 12.39 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001878/0.3748, allocations: 73.78 kB / 0.5168 GB, free: 12.32 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.3748, allocations: 4 kB / 0.5168 GB, free: 12.31 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.3748, allocations: 0 / 0.5168 GB, free: 12.31 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3749, allocations: 4.453 kB / 0.5168 GB, free: 12.31 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000551/0.3754, allocations: 319.9 kB / 0.5171 GB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.3754, allocations: 4 kB / 0.5171 GB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000103/0.3755, allocations: 19.92 kB / 0.5171 GB, free: 11.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.3756, allocations: 0 / 0.5171 GB, free: 11.93 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.3756, allocations: 7.969 kB / 0.5172 GB, free: 11.92 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.3756, allocations: 4 kB / 0.5172 GB, free: 11.91 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.3756, allocations: 0 / 0.5172 GB, free: 11.91 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001765/0.3758, allocations: 174 kB / 0.5173 GB, free: 11.72 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.573e-05/0.3758, allocations: 85.05 kB / 0.5174 GB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.3758, allocations: 3.984 kB / 0.5174 GB, free: 11.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.376, allocations: 8 kB / 0.5174 GB, free: 11.61 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.158e-05/0.376, allocations: 7.984 kB / 0.5174 GB, free: 11.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.505e-06/0.376, allocations: 7.953 kB / 0.5174 GB, free: 11.59 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.281e-05/0.376, allocations: 79.28 kB / 0.5175 GB, free: 11.51 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.376, allocations: 0 / 0.5175 GB, free: 11.51 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002271/0.3763, allocations: 4 kB / 0.5175 GB, free: 11.51 MB / 378.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.0001491/0.3764, allocations: 107.3 kB / 0.5176 GB, free: 11.39 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 9.338e-05/0.3765, allocations: 27.98 kB / 0.5176 GB, free: 11.37 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3765, allocations: 0 / 0.5176 GB, free: 11.37 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.777e-05/0.3766, allocations: 15.94 kB / 0.5177 GB, free: 11.35 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001413/0.3767, allocations: 7.281 kB / 0.5177 GB, free: 11.35 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003265/0.3771, allocations: 80.84 kB / 0.5177 GB, free: 11.24 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002455/0.3773, allocations: 0.6807 MB / 0.5184 GB, free: 10.54 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.376e-05/0.3774, allocations: 4 kB / 0.5184 GB, free: 10.53 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.359e-05/0.3774, allocations: 19.42 kB / 0.5184 GB, free: 10.51 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3774, allocations: 0 / 0.5184 GB, free: 10.51 MB / 378.7 MB Notification: Performance of Templates: time 0.002309/0.3797, allocations: 0.5661 MB / 0.519 GB, free: 9.945 MB / 378.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)