Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.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.TestRegFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.008642/0.008642, allocations: 166.1 kB / 15.11 MB, free: 5.969 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.375/1.375, allocations: 170.8 MB / 186.6 MB, free: 1.137 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.001806/0.001806, allocations: 107.3 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.3515/0.3515, allocations: 38.05 MB / 303.7 MB, free: 42.36 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004188/0.0004188, allocations: 11.98 kB / 362.9 MB, free: 5.621 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1143, allocations: 48.7 MB / 411.6 MB, free: 4.84 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3419/0.4562, allocations: 72.89 MB / 484.5 MB, free: 14.86 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002515/0.4565, allocations: 65.09 kB / 484.5 MB, free: 14.82 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002438/0.459, allocations: 0.9038 MB / 485.4 MB, free: 14.02 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.459, allocations: 0 / 485.4 MB, free: 14.02 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.459, allocations: 4 kB / 485.4 MB, free: 14.02 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0002375/0.4592, allocations: 338 kB / 485.8 MB, free: 13.64 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.4593, allocations: 12.03 kB / 485.8 MB, free: 13.63 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.459e-05/0.4593, allocations: 0 / 485.8 MB, free: 13.63 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.551e-05/0.4594, allocations: 174.1 kB / 485.9 MB, free: 13.43 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.4595, allocations: 4 kB / 486 MB, free: 13.43 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.4595, allocations: 7.984 kB / 486 MB, free: 13.42 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001269/0.4596, allocations: 51.5 kB / 486 MB, free: 13.37 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.4596, allocations: 3.938 kB / 486 MB, free: 13.37 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.4596, allocations: 4 kB / 486 MB, free: 13.36 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.4597, allocations: 0 / 486 MB, free: 13.36 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.962e-05/0.4597, allocations: 57.95 kB / 486.1 MB, free: 13.32 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001725/0.4599, allocations: 169.6 kB / 486.2 MB, free: 13.11 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001118/0.46, allocations: 71.45 kB / 486.3 MB, free: 13.05 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002543/0.4603, allocations: 255.6 kB / 486.6 MB, free: 12.75 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.781e-05/0.4603, allocations: 42.12 kB / 486.6 MB, free: 12.7 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.4603, allocations: 0 / 486.6 MB, free: 12.7 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002172/0.4606, allocations: 99.36 kB / 486.7 MB, free: 12.62 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.432e-05/0.4606, allocations: 55.41 kB / 486.8 MB, free: 12.55 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.499e-05/0.4606, allocations: 85 kB / 486.8 MB, free: 12.46 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.4607, allocations: 29.08 kB / 486.9 MB, free: 12.43 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.691e-05/0.4607, allocations: 80.14 kB / 486.9 MB, free: 12.35 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.399e-05/0.4607, allocations: 34.52 kB / 487 MB, free: 12.32 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-06/0.4608, allocations: 4.125 kB / 487 MB, free: 12.31 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.221e-05/0.4608, allocations: 317.9 kB / 487.3 MB, free: 12 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.743e-05/0.4609, allocations: 17.55 kB / 487.3 MB, free: 11.98 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.327e-05/0.4609, allocations: 15 kB / 487.3 MB, free: 11.97 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.617e-05/0.4609, allocations: 21.48 kB / 487.3 MB, free: 11.96 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.4609, allocations: 0 / 487.3 MB, free: 11.96 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.521e-05/0.461, allocations: 83.14 kB / 487.4 MB, free: 11.89 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.4611, allocations: 8 kB / 487.4 MB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.4611, allocations: 0 / 487.4 MB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.4611, allocations: 4 kB / 487.4 MB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.48e-05/0.4612, allocations: 16.69 kB / 487.5 MB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.353e-06/0.4612, allocations: 0 / 487.5 MB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.626e-05/0.4612, allocations: 15.98 kB / 487.5 MB, free: 11.85 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-06/0.4612, allocations: 0 / 487.5 MB, free: 11.85 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 (10): * Single equations (assignments): 10 * 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.324e-05/0.4613, allocations: 114.4 kB / 487.6 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.927e-06/0.4613, allocations: 3.953 kB / 487.6 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001617/0.4615, allocations: 99.11 kB / 487.7 MB, free: 11.65 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.4615, allocations: 8 kB / 487.7 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.4615, allocations: 1.438 kB / 487.7 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.4615, allocations: 224 / 487.7 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.414e-05/0.4616, allocations: 179.3 kB / 487.9 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.4616, allocations: 7.875 kB / 487.9 MB, free: 11.42 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.897e-05/0.4617, allocations: 12 kB / 487.9 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.4617, allocations: 0 / 487.9 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.156e-06/0.4617, allocations: 3.953 kB / 487.9 MB, free: 11.4 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.4617, allocations: 7.984 kB / 487.9 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.4617, allocations: 0 / 487.9 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001095/0.4618, allocations: 108.1 kB / 488 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.005e-05/0.4619, allocations: 85.02 kB / 488.1 MB, free: 11.19 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.4619, allocations: 3.125 kB / 488.1 MB, free: 11.19 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.382e-05/0.4619, allocations: 7.016 kB / 488.1 MB, free: 11.18 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.07e-05/0.4619, allocations: 11.92 kB / 488.1 MB, free: 11.17 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.462, allocations: 3.984 kB / 488.1 MB, free: 11.17 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.876e-05/0.462, allocations: 79.28 kB / 488.2 MB, free: 11.09 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.462, allocations: 4.094 kB / 488.2 MB, free: 11.09 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001871/0.4622, allocations: 23.19 kB / 488.2 MB, free: 11.07 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (10): * Single equations (assignments): 10 * 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.000127/0.4623, allocations: 107.2 kB / 488.3 MB, free: 10.95 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000111/0.4624, allocations: 52.17 kB / 488.4 MB, free: 10.91 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.4624, allocations: 0 / 488.4 MB, free: 10.91 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.617e-05/0.4625, allocations: 34.73 kB / 488.4 MB, free: 10.88 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001021/0.4626, allocations: 0.6562 kB / 488.4 MB, free: 10.88 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002769/0.4629, allocations: 153.7 kB / 488.6 MB, free: 10.72 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001177/0.463, allocations: 0.6814 MB / 489.2 MB, free: 10.02 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.608e-05/0.463, allocations: 11.92 kB / 489.2 MB, free: 10 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.044e-05/0.4631, allocations: 11.44 kB / 489.3 MB, free: 9.992 MB / 330.7 MB Notification: Performance of SimCode: time 2.21e-07/0.4631, allocations: 0 / 489.3 MB, free: 9.992 MB / 330.7 MB Notification: Performance of Templates: time 0.002378/0.4655, allocations: 0.6006 MB / 489.9 MB, free: 9.406 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1)