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.00757/0.00757, allocations: 164.7 kB / 15.11 MB, free: 5.973 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.4/1.4, allocations: 170.8 MB / 186.6 MB, free: 1.129 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.0017/0.0017, allocations: 114.6 kB / 226.2 MB, free: 10.11 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.3118/0.3118, allocations: 38.05 MB / 303.7 MB, free: 42.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003751/0.0003751, allocations: 12 kB / 362.9 MB, free: 5.59 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1034, allocations: 48.7 MB / 411.6 MB, free: 4.812 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2843/0.3877, allocations: 72.79 MB / 484.4 MB, free: 14.99 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001694/0.388, allocations: 62.28 kB / 484.4 MB, free: 14.96 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00142/0.3894, allocations: 0.6232 MB / 485 MB, free: 14.38 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3894, allocations: 2.906 kB / 485 MB, free: 14.38 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.3894, allocations: 0 / 485 MB, free: 14.38 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.0002023/0.3896, allocations: 318.5 kB / 485.4 MB, free: 14.03 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.3897, allocations: 12.03 kB / 485.4 MB, free: 14.02 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.408e-05/0.3897, allocations: 8.594 kB / 485.4 MB, free: 14.01 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.917e-05/0.3898, allocations: 166.3 kB / 485.5 MB, free: 13.81 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.3898, allocations: 2.891 kB / 485.5 MB, free: 13.81 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.793e-05/0.3898, allocations: 6.719 kB / 485.5 MB, free: 13.81 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.349e-05/0.3899, allocations: 38.94 kB / 485.6 MB, free: 13.77 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.39, allocations: 0 / 485.6 MB, free: 13.77 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.39, allocations: 3.875 kB / 485.6 MB, free: 13.77 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.39, allocations: 4 kB / 485.6 MB, free: 13.76 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.43e-05/0.39, allocations: 4 kB / 485.6 MB, free: 13.76 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000122/0.3901, allocations: 154.6 kB / 485.7 MB, free: 13.56 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001559/0.3903, allocations: 33.78 kB / 485.8 MB, free: 13.52 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00028/0.3906, allocations: 129.1 kB / 485.9 MB, free: 13.38 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.966e-05/0.3906, allocations: 33.25 kB / 485.9 MB, free: 13.34 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.3906, allocations: 0 / 485.9 MB, free: 13.34 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.00125/0.3919, allocations: 208.8 kB / 486.1 MB, free: 13.14 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.461e-05/0.3919, allocations: 51.41 kB / 486.2 MB, free: 13.08 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.546e-05/0.392, allocations: 92.98 kB / 486.3 MB, free: 12.98 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.096e-05/0.392, allocations: 25.7 kB / 486.3 MB, free: 12.95 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.393e-05/0.392, allocations: 84.02 kB / 486.4 MB, free: 12.87 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.516e-05/0.392, allocations: 11.75 kB / 486.4 MB, free: 12.86 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-06/0.3921, allocations: 0 / 486.4 MB, free: 12.86 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.682e-05/0.3921, allocations: 318.9 kB / 486.7 MB, free: 12.54 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.323e-05/0.3922, allocations: 23.97 kB / 486.7 MB, free: 12.52 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.334e-05/0.3923, allocations: 27.25 kB / 486.8 MB, free: 12.5 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.93e-05/0.3923, allocations: 23.67 kB / 486.8 MB, free: 12.48 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.3923, allocations: 0 / 486.8 MB, free: 12.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001704/0.3925, allocations: 88.88 kB / 486.9 MB, free: 12.4 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.3926, allocations: 7.984 kB / 486.9 MB, free: 12.39 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.3926, allocations: 7.781 kB / 486.9 MB, free: 12.39 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.3926, allocations: 0 / 486.9 MB, free: 12.39 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.3927, allocations: 15.98 kB / 486.9 MB, free: 12.37 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.3927, allocations: 4 kB / 486.9 MB, free: 12.37 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.363e-05/0.3928, allocations: 8 kB / 486.9 MB, free: 12.36 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.3928, allocations: 0 / 486.9 MB, free: 12.36 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 () * Number of clocked 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.026e-05/0.3929, allocations: 118.5 kB / 487 MB, free: 12.24 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.187e-05/0.3929, allocations: 7.859 kB / 487 MB, free: 12.23 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002435/0.3932, allocations: 94.03 kB / 487.1 MB, free: 12.15 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.3932, allocations: 0 / 487.1 MB, free: 12.15 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.3932, allocations: 7.922 kB / 487.1 MB, free: 12.14 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.3932, allocations: 4 kB / 487.1 MB, free: 12.14 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005677/0.3938, allocations: 358 kB / 487.5 MB, free: 11.74 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3938, allocations: 4 kB / 487.5 MB, free: 11.74 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.891e-05/0.3939, allocations: 20.25 kB / 487.5 MB, free: 11.72 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.3939, allocations: 4.031 kB / 487.5 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.3939, allocations: 3.984 kB / 487.5 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3939, allocations: 0 / 487.5 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.3939, allocations: 5.688 kB / 487.5 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001985/0.3941, allocations: 201.3 kB / 487.7 MB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.852e-05/0.3942, allocations: 77.11 kB / 487.8 MB, free: 11.4 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.3942, allocations: 4 kB / 487.8 MB, free: 11.4 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.3943, allocations: 7.984 kB / 487.8 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.651e-05/0.3943, allocations: 11.88 kB / 487.8 MB, free: 11.38 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/0.3943, allocations: 3.562 kB / 487.8 MB, free: 11.38 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.045e-05/0.3944, allocations: 83.22 kB / 487.9 MB, free: 11.3 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3944, allocations: 0 / 487.9 MB, free: 11.3 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002118/0.3946, allocations: 8 kB / 487.9 MB, free: 11.29 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 () * Number of clocked 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.0001307/0.3947, allocations: 103.2 kB / 488 MB, free: 11.18 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001907/0.3949, allocations: 51.66 kB / 488.1 MB, free: 11.14 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3949, allocations: 4.094 kB / 488.1 MB, free: 11.14 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.134e-05/0.395, allocations: 35.72 kB / 488.1 MB, free: 11.11 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001295/0.3951, allocations: 3.953 kB / 488.1 MB, free: 11.1 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003835/0.3955, allocations: 145.9 kB / 488.2 MB, free: 10.94 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001306/0.3957, allocations: 0.6809 MB / 488.9 MB, free: 10.23 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.134e-05/0.3957, allocations: 11.91 kB / 488.9 MB, free: 10.22 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.08e-05/0.3958, allocations: 11.42 kB / 489 MB, free: 10.21 MB / 330.7 MB Notification: Performance of SimCode: time 2.81e-07/0.3958, allocations: 0 / 489 MB, free: 10.21 MB / 330.7 MB Notification: Performance of Templates: time 0.002216/0.398, allocations: 0.5884 MB / 489.5 MB, free: 9.637 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)