Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.Test01RegFun3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001596/0.001597, allocations: 156.5 kB / 7.632 MB, free: 1.445 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.405/1.405, allocations: 170.7 MB / 178.7 MB, free: 7.027 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.00175/0.00175, allocations: 106.5 kB / 218 MB, free: 15.33 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.205/0.205, allocations: 37.97 MB / 295.1 MB, free: 2.078 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.581e-05/1.59e-05, allocations: 0 / 350 MB, free: 32.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3222, allocations: 48.7 MB / 398.7 MB, free: 6.043 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1095/0.4318, allocations: 73.38 MB / 472.1 MB, free: 9.758 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002023/0.432, allocations: 63.97 kB / 472.2 MB, free: 9.695 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02503/0.4571, allocations: 8.168 MB / 480.3 MB, free: 1.531 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.4571, allocations: 0 / 480.3 MB, free: 1.531 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.4571, allocations: 0 / 480.3 MB, free: 1.531 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002977/0.4574, allocations: 338.5 kB / 480.7 MB, free: 1.156 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.4575, allocations: 12.03 kB / 480.7 MB, free: 1.145 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.865e-05/0.4575, allocations: 3.938 kB / 480.7 MB, free: 1.141 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.4576, allocations: 163.1 kB / 480.8 MB, free: 0.9414 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.4576, allocations: 3.953 kB / 480.8 MB, free: 0.9375 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.175e-06/0.4577, allocations: 3.938 kB / 480.8 MB, free: 0.9336 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.951e-05/0.4577, allocations: 4 kB / 480.8 MB, free: 0.9297 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.294e-05/0.4578, allocations: 33.7 kB / 480.9 MB, free: 0.8906 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.4578, allocations: 0 / 480.9 MB, free: 0.8906 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.4578, allocations: 3.984 kB / 480.9 MB, free: 0.8867 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-06/0.4578, allocations: 0 / 480.9 MB, free: 0.8867 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001126/0.4579, allocations: 126.2 kB / 481 MB, free: 0.7266 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.53e-05/0.458, allocations: 22.61 kB / 481 MB, free: 0.6953 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.261e-05/0.458, allocations: 4.859 kB / 481 MB, free: 0.6875 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.458, allocations: 12.02 kB / 481 MB, free: 0.6758 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.4581, allocations: 34.5 kB / 481.1 MB, free: 0.6328 MB / 330.7 MB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.4581, allocations: 0 / 481.1 MB, free: 0.6328 MB / 330.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001423/0.4582, allocations: 29.7 kB / 481.1 MB, free: 0.5977 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.311e-05/0.4582, allocations: 55.41 kB / 481.2 MB, free: 0.5312 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.402e-05/0.4583, allocations: 88.98 kB / 481.2 MB, free: 448 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.4583, allocations: 29.7 kB / 481.3 MB, free: 412 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.652e-05/0.4584, allocations: 84.3 kB / 481.4 MB, free: 324 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.4584, allocations: 8.562 kB / 481.4 MB, free: 316 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-06/0.4584, allocations: 0 / 481.4 MB, free: 316 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001776/0.4586, allocations: 314.8 kB / 481.7 MB, free: 15.99 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.031e-05/0.4586, allocations: 0 / 481.7 MB, free: 15.99 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.226e-06/0.4586, allocations: 4 kB / 481.7 MB, free: 15.99 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.928e-05/0.4587, allocations: 0 / 481.7 MB, free: 15.99 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.4587, allocations: 0 / 481.7 MB, free: 15.99 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.129e-05/0.4587, allocations: 45.69 kB / 481.7 MB, free: 15.94 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.4588, allocations: 7.953 kB / 481.7 MB, free: 15.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/0.4588, allocations: 4 kB / 481.7 MB, free: 15.93 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.4588, allocations: 0 / 481.7 MB, free: 15.93 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.61e-07/0.4588, allocations: 0 / 481.7 MB, free: 15.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.527e-06/0.4588, allocations: 0 / 481.7 MB, free: 15.93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.587e-05/0.4588, allocations: 3.906 kB / 481.7 MB, free: 15.92 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.4589, allocations: 0 / 481.7 MB, free: 15.92 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.504e-05/0.4589, allocations: 105 kB / 481.8 MB, free: 15.81 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.808e-06/0.4589, allocations: 4 kB / 481.8 MB, free: 15.81 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001218/0.4591, allocations: 49.42 kB / 481.9 MB, free: 15.76 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.4591, allocations: 0 / 481.9 MB, free: 15.76 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.4591, allocations: 0 / 481.9 MB, free: 15.76 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.704e-06/0.4591, allocations: 0 / 481.9 MB, free: 15.76 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.498e-05/0.4592, allocations: 130.2 kB / 482 MB, free: 15.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.4592, allocations: 11.88 kB / 482 MB, free: 15.58 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.41e-07/0.4592, allocations: 0 / 482 MB, free: 15.58 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.4592, allocations: 32 / 482 MB, free: 15.58 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.293e-06/0.4592, allocations: 8 kB / 482 MB, free: 15.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.4592, allocations: 0 / 482 MB, free: 15.57 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.4592, allocations: 3.953 kB / 482 MB, free: 15.57 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.005e-05/0.4593, allocations: 61.12 kB / 482.1 MB, free: 15.49 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.196e-05/0.4593, allocations: 77.11 kB / 482.2 MB, free: 15.4 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.136e-05/0.4594, allocations: 0 / 482.2 MB, free: 15.4 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.552e-05/0.4594, allocations: 4 kB / 482.2 MB, free: 15.39 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.046e-05/0.4594, allocations: 4.031 kB / 482.2 MB, free: 15.39 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/0.4594, allocations: 3.953 kB / 482.2 MB, free: 15.39 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.157e-05/0.4595, allocations: 79.28 kB / 482.3 MB, free: 15.31 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4595, allocations: 0 / 482.3 MB, free: 15.31 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002468/0.4597, allocations: 55.92 kB / 482.3 MB, free: 15.25 MB / 346.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0002868/0.46, allocations: 143.1 kB / 482.5 MB, free: 15.1 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.395e-05/0.4601, allocations: 33.64 kB / 482.5 MB, free: 15.06 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4601, allocations: 4.156 kB / 482.5 MB, free: 15.06 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.146e-05/0.4602, allocations: 33.69 kB / 482.5 MB, free: 15.02 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000103/0.4603, allocations: 2.969 kB / 482.5 MB, free: 15.02 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002065/0.4605, allocations: 56 kB / 482.6 MB, free: 14.94 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002594/0.4608, allocations: 0.6729 MB / 483.3 MB, free: 14.24 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.198e-05/0.4608, allocations: 4 kB / 483.3 MB, free: 14.24 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.021e-05/0.4608, allocations: 7.438 kB / 483.3 MB, free: 14.23 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4608, allocations: 0 / 483.3 MB, free: 14.23 MB / 346.7 MB Notification: Performance of Templates: time 0.002792/0.4636, allocations: 0.837 MB / 484.1 MB, free: 13.39 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test01RegFun3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1)