Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.Test01RegFun3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001253/0.001254, allocations: 180.3 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.744/1.744, 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.001642/0.001642, allocations: 115.8 kB / 247.4 MB, free: 6.227 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.2065/0.2065, allocations: 39.95 MB / 332.2 MB, free: 4.797 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.523e-05/1.525e-05, allocations: 0 / 393.3 MB, free: 75.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1034, allocations: 54.87 MB / 448.2 MB, free: 20.66 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3698/0.4733, allocations: 79.75 MB / 0.5156 GB, free: 10.4 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002197/0.4736, allocations: 73.64 kB / 0.5156 GB, free: 10.4 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02206/0.4956, allocations: 8.167 MB / 0.5236 GB, free: 8.363 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4957, allocations: 0 / 0.5236 GB, free: 8.363 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.4957, allocations: 0 / 0.5236 GB, free: 8.363 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002505/0.496, allocations: 345.8 kB / 0.5239 GB, free: 7.996 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.496, allocations: 11.25 kB / 0.5239 GB, free: 7.996 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.888e-05/0.496, allocations: 7.938 kB / 0.5239 GB, free: 7.988 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.509e-05/0.4961, allocations: 163.1 kB / 0.5241 GB, free: 7.789 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.4961, allocations: 0 / 0.5241 GB, free: 7.789 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.454e-06/0.4962, allocations: 4.594 kB / 0.5241 GB, free: 7.789 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.038e-05/0.4962, allocations: 0 / 0.5241 GB, free: 7.789 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.766e-05/0.4963, allocations: 29.55 kB / 0.5241 GB, free: 7.758 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.4963, allocations: 0 / 0.5241 GB, free: 7.758 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.4963, allocations: 0 / 0.5241 GB, free: 7.758 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.4963, allocations: 3.953 kB / 0.5241 GB, free: 7.754 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001034/0.4964, allocations: 137.7 kB / 0.5243 GB, free: 7.59 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.431e-05/0.4965, allocations: 22.52 kB / 0.5243 GB, free: 7.559 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.24e-05/0.4965, allocations: 12.67 kB / 0.5243 GB, free: 7.547 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.207e-05/0.4965, allocations: 0 / 0.5243 GB, free: 7.547 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.557e-05/0.4965, allocations: 30.56 kB / 0.5243 GB, free: 7.508 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 7.22e-07/0.4965, allocations: 0 / 0.5243 GB, free: 7.508 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001518/0.4967, allocations: 41.19 kB / 0.5244 GB, free: 7.473 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.886e-05/0.4967, allocations: 51.41 kB / 0.5244 GB, free: 7.41 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.576e-05/0.4968, allocations: 92.88 kB / 0.5245 GB, free: 7.316 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.997e-06/0.4968, allocations: 25.7 kB / 0.5245 GB, free: 7.285 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.972e-05/0.4968, allocations: 80.14 kB / 0.5246 GB, free: 7.203 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.401e-05/0.4968, allocations: 3.938 kB / 0.5246 GB, free: 7.199 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-06/0.4969, allocations: 0 / 0.5246 GB, free: 7.199 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.786e-05/0.4969, allocations: 321.1 kB / 0.5249 GB, free: 6.879 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.428e-06/0.4969, allocations: 7.812 kB / 0.5249 GB, free: 6.875 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.26e-06/0.4969, allocations: 0 / 0.5249 GB, free: 6.875 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.851e-05/0.497, allocations: 8.156 kB / 0.5249 GB, free: 6.871 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.497, allocations: 0 / 0.5249 GB, free: 6.871 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.576e-05/0.497, allocations: 37.38 kB / 0.525 GB, free: 6.836 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.007e-05/0.4971, allocations: 3.969 kB / 0.525 GB, free: 6.836 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/0.4971, allocations: 3.984 kB / 0.525 GB, free: 6.832 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.4971, allocations: 3.875 kB / 0.525 GB, free: 6.832 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.062e-06/0.4971, allocations: 0 / 0.525 GB, free: 6.832 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.4971, allocations: 0 / 0.525 GB, free: 6.832 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.447e-05/0.4971, allocations: 0 / 0.525 GB, free: 6.832 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.4971, allocations: 32 / 0.525 GB, free: 6.832 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 4.573e-05/0.4972, allocations: 108.9 kB / 0.5251 GB, free: 6.719 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.955e-06/0.4972, allocations: 7.75 kB / 0.5251 GB, free: 6.715 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001116/0.4973, allocations: 51.95 kB / 0.5251 GB, free: 6.672 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.4973, allocations: 0 / 0.5251 GB, free: 6.672 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.4973, allocations: 0 / 0.5251 GB, free: 6.672 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.4973, allocations: 0 / 0.5251 GB, free: 6.672 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.226e-05/0.4974, allocations: 141 kB / 0.5253 GB, free: 6.504 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.4974, allocations: 0 / 0.5253 GB, free: 6.504 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.4974, allocations: 0 / 0.5253 GB, free: 6.504 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.4974, allocations: 0 / 0.5253 GB, free: 6.504 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.4974, allocations: 0 / 0.5253 GB, free: 6.504 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.4974, allocations: 3.844 kB / 0.5253 GB, free: 6.504 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.4974, allocations: 0 / 0.5253 GB, free: 6.504 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.792e-05/0.4975, allocations: 60.56 kB / 0.5253 GB, free: 6.438 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.171e-05/0.4975, allocations: 85.09 kB / 0.5254 GB, free: 6.336 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.4976, allocations: 0 / 0.5254 GB, free: 6.336 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.431e-05/0.4976, allocations: 7.859 kB / 0.5254 GB, free: 6.332 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.651e-05/0.4976, allocations: 3.938 kB / 0.5254 GB, free: 6.328 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/0.4976, allocations: 3.938 kB / 0.5254 GB, free: 6.324 MB / 346.7 MB Notification: Performance of sorting global known variables: time 1.949e-05/0.4977, allocations: 79.09 kB / 0.5255 GB, free: 6.25 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4977, allocations: 0 / 0.5255 GB, free: 6.25 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002641/0.4979, allocations: 50.48 kB / 0.5256 GB, free: 6.234 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.0002425/0.4982, allocations: 153.1 kB / 0.5257 GB, free: 6.121 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.559e-05/0.4983, allocations: 37.41 kB / 0.5257 GB, free: 6.086 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.4983, allocations: 0 / 0.5257 GB, free: 6.086 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.314e-05/0.4983, allocations: 25.7 kB / 0.5258 GB, free: 6.055 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001166/0.4984, allocations: 3.969 kB / 0.5258 GB, free: 6.055 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001996/0.4986, allocations: 42.98 kB / 0.5258 GB, free: 5.996 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001463/0.4988, allocations: 0.6766 MB / 0.5265 GB, free: 5.297 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.274e-05/0.4988, allocations: 4.125 kB / 0.5265 GB, free: 5.293 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.338e-06/0.4988, allocations: 11.34 kB / 0.5265 GB, free: 5.285 MB / 346.7 MB Notification: Performance of SimCode: time 1.042e-06/0.4988, allocations: 0 / 0.5265 GB, free: 5.285 MB / 346.7 MB Notification: Performance of Templates: time 0.002589/0.5014, allocations: 0.8292 MB / 0.5273 GB, free: 4.867 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test01RegFun3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1)