Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.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.TestRegFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00139/0.00139, allocations: 176.2 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.428/1.428, allocations: 194.4 MB / 202.4 MB, free: 13.01 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.001888/0.001888, allocations: 108 kB / 247.4 MB, free: 28 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.293/0.293, allocations: 39.96 MB / 332.2 MB, free: 0.6445 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.125e-05/2.105e-05, allocations: 0 / 393.3 MB, free: 3.461 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3394/0.3394, allocations: 54.88 MB / 448.2 MB, free: 13.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1125/0.452, allocations: 78.51 MB / 0.5144 GB, free: 15.06 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001944/0.4522, allocations: 63.95 kB / 0.5144 GB, free: 15 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002548/0.4548, allocations: 0.8957 MB / 0.5153 GB, free: 14.1 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.4548, allocations: 0 / 0.5153 GB, free: 14.1 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.742e-06/0.4548, allocations: 4 kB / 0.5153 GB, free: 14.09 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0002439/0.4551, allocations: 338.4 kB / 0.5156 GB, free: 13.72 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.4551, allocations: 8.031 kB / 0.5156 GB, free: 13.71 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.391e-05/0.4552, allocations: 7.938 kB / 0.5156 GB, free: 13.7 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.4553, allocations: 171 kB / 0.5158 GB, free: 13.5 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.4553, allocations: 0 / 0.5158 GB, free: 13.5 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.214e-05/0.4553, allocations: 4 kB / 0.5158 GB, free: 13.49 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001131/0.4554, allocations: 44.19 kB / 0.5158 GB, free: 13.45 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.835e-05/0.4555, allocations: 49.67 kB / 0.5159 GB, free: 13.39 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.4555, allocations: 11.88 kB / 0.5159 GB, free: 13.38 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.4556, allocations: 0 / 0.5159 GB, free: 13.38 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.4556, allocations: 7.953 kB / 0.5159 GB, free: 13.38 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001582/0.4557, allocations: 146.1 kB / 0.5161 GB, free: 13.2 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.788e-05/0.4558, allocations: 62.56 kB / 0.5161 GB, free: 13.12 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.014e-05/0.4559, allocations: 32.8 kB / 0.5161 GB, free: 13.09 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000288/0.4562, allocations: 255.3 kB / 0.5164 GB, free: 12.79 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/0.4562, allocations: 34.56 kB / 0.5164 GB, free: 12.74 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.443e-06/0.4562, allocations: 0 / 0.5164 GB, free: 12.74 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002415/0.4565, allocations: 81.89 kB / 0.5165 GB, free: 12.66 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.053e-05/0.4565, allocations: 51.41 kB / 0.5165 GB, free: 12.59 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.725e-05/0.4566, allocations: 85 kB / 0.5166 GB, free: 12.5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.239e-05/0.4566, allocations: 29.7 kB / 0.5167 GB, free: 12.47 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.736e-05/0.4567, allocations: 84.27 kB / 0.5167 GB, free: 12.38 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.807e-05/0.4567, allocations: 31.55 kB / 0.5168 GB, free: 12.35 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.027e-06/0.4567, allocations: 0 / 0.5168 GB, free: 12.35 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.4568, allocations: 314.8 kB / 0.5171 GB, free: 12.04 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.673e-05/0.4569, allocations: 12 kB / 0.5171 GB, free: 12.02 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.709e-05/0.4569, allocations: 23.94 kB / 0.5171 GB, free: 12 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.517e-05/0.457, allocations: 23.97 kB / 0.5171 GB, free: 11.98 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.457, allocations: 0 / 0.5171 GB, free: 11.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001624/0.4572, allocations: 77.59 kB / 0.5172 GB, free: 11.89 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.4572, allocations: 7.938 kB / 0.5172 GB, free: 11.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.4572, allocations: 7.984 kB / 0.5172 GB, free: 11.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.4572, allocations: 384 / 0.5172 GB, free: 11.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.251e-05/0.4573, allocations: 16 kB / 0.5172 GB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.4573, allocations: 4 kB / 0.5172 GB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.371e-05/0.4574, allocations: 0 / 0.5172 GB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.672e-06/0.4574, allocations: 3.938 kB / 0.5172 GB, free: 11.86 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 (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 7.468e-05/0.4575, allocations: 108.9 kB / 0.5173 GB, free: 11.74 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.136e-05/0.4575, allocations: 3.906 kB / 0.5173 GB, free: 11.74 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002278/0.4577, allocations: 106 kB / 0.5174 GB, free: 11.63 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.4577, allocations: 0 / 0.5174 GB, free: 11.63 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.4577, allocations: 3.984 kB / 0.5175 GB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.4577, allocations: 0 / 0.5175 GB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001125/0.4579, allocations: 150.1 kB / 0.5176 GB, free: 11.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.4579, allocations: 3.938 kB / 0.5176 GB, free: 11.44 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.344e-05/0.4579, allocations: 15.94 kB / 0.5176 GB, free: 11.42 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.458, allocations: 0 / 0.5176 GB, free: 11.42 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.458, allocations: 0 / 0.5176 GB, free: 11.42 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.458, allocations: 7.984 kB / 0.5176 GB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.458, allocations: 4 kB / 0.5176 GB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001792/0.4582, allocations: 105 kB / 0.5177 GB, free: 11.29 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.177e-05/0.4582, allocations: 81.06 kB / 0.5178 GB, free: 11.19 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.4582, allocations: 3.938 kB / 0.5178 GB, free: 11.19 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.225e-05/0.4583, allocations: 0 / 0.5178 GB, free: 11.19 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.847e-05/0.4583, allocations: 15.97 kB / 0.5178 GB, free: 11.17 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.4583, allocations: 4 kB / 0.5178 GB, free: 11.17 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.496e-05/0.4583, allocations: 79.28 kB / 0.5179 GB, free: 11.09 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4583, allocations: 0 / 0.5179 GB, free: 11.09 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001921/0.4585, allocations: 19.94 kB / 0.5179 GB, free: 11.07 MB / 378.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 (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.0001258/0.4587, allocations: 111.2 kB / 0.518 GB, free: 10.95 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001091/0.4588, allocations: 48.12 kB / 0.5181 GB, free: 10.91 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4588, allocations: 0 / 0.5181 GB, free: 10.91 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.734e-05/0.4588, allocations: 32.06 kB / 0.5181 GB, free: 10.88 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.434e-05/0.4589, allocations: 0 / 0.5181 GB, free: 10.88 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002458/0.4592, allocations: 84.03 kB / 0.5182 GB, free: 10.77 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002623/0.4595, allocations: 0.6923 MB / 0.5189 GB, free: 10.05 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.214e-05/0.4595, allocations: 8 kB / 0.5189 GB, free: 10.04 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.148e-05/0.4595, allocations: 11.44 kB / 0.5189 GB, free: 10.03 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4595, allocations: 0 / 0.5189 GB, free: 10.03 MB / 378.7 MB Notification: Performance of Templates: time 0.002479/0.462, allocations: 0.5828 MB / 0.5194 GB, free: 9.449 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1)