Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.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.Test02RegFun3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001397/0.001397, allocations: 181.9 kB / 7.651 MB, free: 1.402 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.403/1.403, allocations: 194.3 MB / 202.4 MB, free: 8.547 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.001841/0.001841, allocations: 113.4 kB / 247.4 MB, free: 6.199 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1966/0.1966, allocations: 39.94 MB / 332.2 MB, free: 4.77 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.966e-05/1.992e-05, allocations: 0 / 393.3 MB, free: 75.55 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1085, allocations: 54.87 MB / 448.2 MB, free: 20.67 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3908/0.4994, allocations: 79.75 MB / 0.5156 GB, free: 10.39 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003101/0.4998, allocations: 69.19 kB / 0.5156 GB, free: 10.39 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0231/0.523, allocations: 8.167 MB / 0.5236 GB, free: 8.367 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.523, allocations: 0 / 0.5236 GB, free: 8.367 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.523, allocations: 0 / 0.5236 GB, free: 8.367 MB / 346.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.0003416/0.5234, allocations: 348.8 kB / 0.5239 GB, free: 7.996 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.5234, allocations: 16.23 kB / 0.5239 GB, free: 7.992 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.251e-05/0.5235, allocations: 3.953 kB / 0.524 GB, free: 7.988 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.258e-05/0.5236, allocations: 159.1 kB / 0.5241 GB, free: 7.793 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.5236, allocations: 0 / 0.5241 GB, free: 7.793 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.5236, allocations: 3.984 kB / 0.5241 GB, free: 7.789 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.926e-05/0.5237, allocations: 7.188 kB / 0.5241 GB, free: 7.789 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.802e-05/0.5238, allocations: 37.38 kB / 0.5242 GB, free: 7.754 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.5238, allocations: 0 / 0.5242 GB, free: 7.754 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.5238, allocations: 3.938 kB / 0.5242 GB, free: 7.75 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.5238, allocations: 7.953 kB / 0.5242 GB, free: 7.742 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003201/0.5241, allocations: 228.2 kB / 0.5244 GB, free: 7.496 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.843e-05/0.5242, allocations: 18.42 kB / 0.5244 GB, free: 7.473 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.982e-05/0.5242, allocations: 4.859 kB / 0.5244 GB, free: 7.465 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.531e-05/0.5243, allocations: 0 / 0.5244 GB, free: 7.465 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.5243, allocations: 30.56 kB / 0.5244 GB, free: 7.426 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.5243, allocations: 4 kB / 0.5244 GB, free: 7.422 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001927/0.5245, allocations: 41.34 kB / 0.5245 GB, free: 7.383 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.061e-05/0.5245, allocations: 51.41 kB / 0.5245 GB, free: 7.32 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.64e-05/0.5246, allocations: 96.12 kB / 0.5246 GB, free: 7.227 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.438e-06/0.5246, allocations: 25.7 kB / 0.5246 GB, free: 7.195 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.856e-05/0.5246, allocations: 84.05 kB / 0.5247 GB, free: 7.109 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.558e-06/0.5247, allocations: 0 / 0.5247 GB, free: 7.109 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-06/0.5247, allocations: 160 / 0.5247 GB, free: 7.109 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.016e-05/0.5247, allocations: 330.4 kB / 0.525 GB, free: 6.785 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.876e-06/0.5247, allocations: 0 / 0.525 GB, free: 6.785 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.002e-05/0.5248, allocations: 18.42 kB / 0.5251 GB, free: 6.762 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.58e-05/0.5248, allocations: 3.812 kB / 0.5251 GB, free: 6.762 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.5248, allocations: 0 / 0.5251 GB, free: 6.762 MB / 346.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.181e-05/0.5249, allocations: 56.34 kB / 0.5251 GB, free: 6.715 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.5249, allocations: 7.656 kB / 0.5251 GB, free: 6.715 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/0.525, allocations: 3.984 kB / 0.5251 GB, free: 6.711 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.525, allocations: 3.875 kB / 0.5251 GB, free: 6.711 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.446e-05/0.525, allocations: 0 / 0.5251 GB, free: 6.711 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.525, allocations: 7.797 kB / 0.5251 GB, free: 6.707 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.897e-05/0.525, allocations: 0 / 0.5251 GB, free: 6.707 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.5251, allocations: 3.812 kB / 0.5251 GB, free: 6.707 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 2 * 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.221e-05/0.5251, allocations: 101 kB / 0.5252 GB, free: 6.602 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.228e-05/0.5251, allocations: 4.094 kB / 0.5252 GB, free: 6.598 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001211/0.5253, allocations: 52.55 kB / 0.5253 GB, free: 6.555 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.5253, allocations: 0 / 0.5253 GB, free: 6.555 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.5253, allocations: 3.812 kB / 0.5253 GB, free: 6.555 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.5253, allocations: 3.953 kB / 0.5253 GB, free: 6.551 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.881e-05/0.5254, allocations: 126.2 kB / 0.5254 GB, free: 6.391 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.5254, allocations: 0 / 0.5254 GB, free: 6.391 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.563e-06/0.5254, allocations: 3.688 kB / 0.5254 GB, free: 6.391 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.5254, allocations: 4.031 kB / 0.5254 GB, free: 6.387 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.5254, allocations: 0 / 0.5254 GB, free: 6.387 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.5255, allocations: 0 / 0.5254 GB, free: 6.387 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.5255, allocations: 0 / 0.5254 GB, free: 6.387 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.603e-05/0.5256, allocations: 134.8 kB / 0.5255 GB, free: 6.25 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.941e-05/0.5256, allocations: 84.98 kB / 0.5256 GB, free: 6.148 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.089e-05/0.5256, allocations: 3.656 kB / 0.5256 GB, free: 6.148 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.402e-05/0.5257, allocations: 32 / 0.5256 GB, free: 6.148 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.231e-05/0.5257, allocations: 4.094 kB / 0.5256 GB, free: 6.145 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.5257, allocations: 3.984 kB / 0.5256 GB, free: 6.141 MB / 346.7 MB Notification: Performance of sorting global known variables: time 1.693e-05/0.5257, allocations: 79.16 kB / 0.5257 GB, free: 6.066 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5257, allocations: 0 / 0.5257 GB, free: 6.066 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003431/0.5261, allocations: 50.52 kB / 0.5258 GB, free: 6.051 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.000304/0.5264, allocations: 153.5 kB / 0.5259 GB, free: 5.941 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001022/0.5265, allocations: 33.75 kB / 0.5259 GB, free: 5.906 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.5265, allocations: 7.906 kB / 0.526 GB, free: 5.902 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.32e-05/0.5265, allocations: 29.64 kB / 0.526 GB, free: 5.867 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001489/0.5267, allocations: 7.797 kB / 0.526 GB, free: 5.863 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001958/0.5269, allocations: 47.3 kB / 0.526 GB, free: 5.801 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001247/0.527, allocations: 0.6766 MB / 0.5267 GB, free: 5.102 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.077e-05/0.527, allocations: 3.844 kB / 0.5267 GB, free: 5.102 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.306e-05/0.5271, allocations: 7.438 kB / 0.5267 GB, free: 5.094 MB / 346.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5271, allocations: 4.062 kB / 0.5267 GB, free: 5.09 MB / 346.7 MB Notification: Performance of Templates: time 0.003181/0.5303, allocations: 0.825 MB / 0.5275 GB, free: 4.68 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test02RegFun3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1)