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.001195/0.001196, allocations: 181 kB / 12.74 MB, free: 2.578 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.766/1.766, allocations: 194.3 MB / 207.5 MB, free: 3.453 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.001654/0.001654, allocations: 102 kB / 252.6 MB, free: 4.809 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.2461/0.2461, allocations: 39.94 MB / 337.5 MB, free: 484 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.512e-05/3.512e-05, allocations: 0 / 400.3 MB, free: 69.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1211, allocations: 54.86 MB / 455.1 MB, free: 15 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3901/0.5112, allocations: 80.42 MB / 0.523 GB, free: 10.27 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001872/0.5115, allocations: 64.66 kB / 0.5231 GB, free: 10.24 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02173/0.5332, allocations: 8.199 MB / 0.5311 GB, free: 3.637 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.5332, allocations: 4 kB / 0.5311 GB, free: 3.633 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.5332, allocations: 0 / 0.5311 GB, free: 3.633 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.0002079/0.5335, allocations: 346.4 kB / 0.5314 GB, free: 3.25 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.5335, allocations: 8.031 kB / 0.5314 GB, free: 3.242 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.24e-05/0.5336, allocations: 3.953 kB / 0.5314 GB, free: 3.238 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.636e-05/0.5336, allocations: 162.4 kB / 0.5316 GB, free: 3.043 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.5336, allocations: 0 / 0.5316 GB, free: 3.043 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.5337, allocations: 7.938 kB / 0.5316 GB, free: 3.035 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001005/0.5338, allocations: 36.69 kB / 0.5316 GB, free: 2.996 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.5338, allocations: 0 / 0.5316 GB, free: 2.996 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.5338, allocations: 4 kB / 0.5316 GB, free: 2.992 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.269e-06/0.5338, allocations: 7.938 kB / 0.5316 GB, free: 2.984 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.468e-05/0.5338, allocations: 7.953 kB / 0.5316 GB, free: 2.977 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002756/0.5341, allocations: 239.1 kB / 0.5319 GB, free: 2.699 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.354e-05/0.5342, allocations: 18.56 kB / 0.5319 GB, free: 2.672 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.294e-05/0.5342, allocations: 12.91 kB / 0.5319 GB, free: 2.656 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.5342, allocations: 0 / 0.5319 GB, free: 2.656 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.665e-05/0.5342, allocations: 38.06 kB / 0.5319 GB, free: 2.613 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.5342, allocations: 0 / 0.5319 GB, free: 2.613 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001146/0.5343, allocations: 37.66 kB / 0.532 GB, free: 2.57 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.522e-05/0.5344, allocations: 55.34 kB / 0.532 GB, free: 2.504 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.422e-05/0.5344, allocations: 85 kB / 0.5321 GB, free: 2.414 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.757e-06/0.5345, allocations: 29.7 kB / 0.5321 GB, free: 2.379 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.708e-05/0.5345, allocations: 91.31 kB / 0.5322 GB, free: 2.289 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.272e-06/0.5345, allocations: 7.594 kB / 0.5322 GB, free: 2.285 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.355e-06/0.5345, allocations: 0 / 0.5322 GB, free: 2.285 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.301e-05/0.5346, allocations: 310.8 kB / 0.5325 GB, free: 1.973 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.188e-05/0.5346, allocations: 7.938 kB / 0.5325 GB, free: 1.965 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.979e-05/0.5346, allocations: 21.77 kB / 0.5325 GB, free: 1.938 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.762e-05/0.5346, allocations: 8 kB / 0.5326 GB, free: 1.93 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.5346, allocations: 0 / 0.5326 GB, free: 1.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.643e-05/0.5347, allocations: 52.91 kB / 0.5326 GB, free: 1.875 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.5347, allocations: 4 kB / 0.5326 GB, free: 1.871 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.5347, allocations: 8.078 kB / 0.5326 GB, free: 1.863 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.5348, allocations: 7.938 kB / 0.5326 GB, free: 1.855 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.387e-05/0.5348, allocations: 4 kB / 0.5326 GB, free: 1.852 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.5348, allocations: 0 / 0.5326 GB, free: 1.852 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.619e-05/0.5348, allocations: 4 kB / 0.5326 GB, free: 1.848 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.5348, allocations: 4.078 kB / 0.5326 GB, free: 1.844 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 3.779e-05/0.5349, allocations: 106.2 kB / 0.5327 GB, free: 1.734 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.244e-05/0.5349, allocations: 4 kB / 0.5327 GB, free: 1.73 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.396e-05/0.535, allocations: 44.09 kB / 0.5328 GB, free: 1.684 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.535, allocations: 4 kB / 0.5328 GB, free: 1.68 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.535, allocations: 3.953 kB / 0.5328 GB, free: 1.676 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.535, allocations: 3.984 kB / 0.5328 GB, free: 1.672 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.953e-05/0.5351, allocations: 149.2 kB / 0.5329 GB, free: 1.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.5352, allocations: 4 kB / 0.5329 GB, free: 1.477 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.6e-07/0.5352, allocations: 3.938 kB / 0.5329 GB, free: 1.473 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.5352, allocations: 4 kB / 0.5329 GB, free: 1.469 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.97e-06/0.5352, allocations: 0 / 0.5329 GB, free: 1.469 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.5352, allocations: 0 / 0.5329 GB, free: 1.469 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.5352, allocations: 0 / 0.5329 GB, free: 1.469 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.434e-05/0.5353, allocations: 138.8 kB / 0.5331 GB, free: 1.32 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.554e-05/0.5353, allocations: 81.14 kB / 0.5332 GB, free: 1.223 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.101e-05/0.5353, allocations: 4 kB / 0.5332 GB, free: 1.219 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.45e-05/0.5353, allocations: 0 / 0.5332 GB, free: 1.219 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.099e-05/0.5354, allocations: 3.984 kB / 0.5332 GB, free: 1.215 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.5354, allocations: 0 / 0.5332 GB, free: 1.215 MB / 346.7 MB Notification: Performance of sorting global known variables: time 1.621e-05/0.5354, allocations: 83.23 kB / 0.5332 GB, free: 1.133 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5354, allocations: 0 / 0.5332 GB, free: 1.133 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003182/0.5357, allocations: 47.94 kB / 0.5333 GB, free: 1.086 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.0002283/0.536, allocations: 150.6 kB / 0.5334 GB, free: 0.9336 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.273e-05/0.536, allocations: 41.58 kB / 0.5335 GB, free: 0.8867 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.5361, allocations: 0 / 0.5335 GB, free: 0.8867 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.199e-05/0.5361, allocations: 33.08 kB / 0.5335 GB, free: 0.8516 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001146/0.5362, allocations: 0 / 0.5335 GB, free: 0.8516 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001409/0.5363, allocations: 52.98 kB / 0.5336 GB, free: 0.7773 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.408e-05/0.5364, allocations: 0.6731 MB / 0.5342 GB, free: 80 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.827e-05/0.5365, allocations: 4.25 kB / 0.5342 GB, free: 76 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.676e-06/0.5365, allocations: 11.38 kB / 0.5342 GB, free: 64 kB / 346.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5365, allocations: 0 / 0.5342 GB, free: 64 kB / 346.7 MB Notification: Performance of Templates: time 0.002625/0.5391, allocations: 0.8313 MB / 0.535 GB, free: 15.25 MB / 362.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)