Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.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.Test02RegFun3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001115/0.001115, allocations: 170.2 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.323/1.323, allocations: 170.6 MB / 183.8 MB, free: 11.43 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.001548/0.001548, allocations: 110.8 kB / 223.2 MB, free: 4.051 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.1756/0.1756, allocations: 37.99 MB / 300.4 MB, free: 5.348 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.754e-05/3.757e-05, allocations: 7.984 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1205, allocations: 48.7 MB / 405.7 MB, free: 15.65 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3528/0.4733, allocations: 74.04 MB / 479.7 MB, free: 18.46 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001947/0.4736, allocations: 67.31 kB / 479.8 MB, free: 18.46 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02395/0.4975, allocations: 8.194 MB / 488 MB, free: 17.71 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4976, allocations: 0 / 488 MB, free: 17.71 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.4976, allocations: 0 / 488 MB, free: 17.71 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002486/0.4979, allocations: 342 kB / 488.3 MB, free: 17.35 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.4979, allocations: 11.66 kB / 488.3 MB, free: 17.35 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.668e-05/0.498, allocations: 0 / 488.3 MB, free: 17.35 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.19e-05/0.498, allocations: 165.1 kB / 488.5 MB, free: 17.15 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.4981, allocations: 3.953 kB / 488.5 MB, free: 17.14 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.044e-05/0.4981, allocations: 3.844 kB / 488.5 MB, free: 17.14 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.4982, allocations: 40.16 kB / 488.5 MB, free: 17.11 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.4982, allocations: 0 / 488.5 MB, free: 17.11 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.4982, allocations: 3.938 kB / 488.5 MB, free: 17.11 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.4982, allocations: 7.844 kB / 488.6 MB, free: 17.1 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.535e-05/0.4983, allocations: 7.859 kB / 488.6 MB, free: 17.1 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002935/0.4986, allocations: 247.4 kB / 488.8 MB, free: 16.83 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.281e-05/0.4986, allocations: 22.45 kB / 488.8 MB, free: 16.8 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.284e-05/0.4986, allocations: 8.734 kB / 488.8 MB, free: 16.79 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/0.4987, allocations: 0 / 488.8 MB, free: 16.79 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.4987, allocations: 34.56 kB / 488.9 MB, free: 16.75 MB / 330.7 MB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.4987, allocations: 0 / 488.9 MB, free: 16.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001201/0.4988, allocations: 39.62 kB / 488.9 MB, free: 16.71 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.276e-05/0.4988, allocations: 55.34 kB / 489 MB, free: 16.65 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.042e-05/0.4989, allocations: 85 kB / 489 MB, free: 16.56 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.225e-06/0.4989, allocations: 29.64 kB / 489.1 MB, free: 16.53 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.379e-05/0.4989, allocations: 90.83 kB / 489.2 MB, free: 16.44 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.118e-06/0.499, allocations: 160 / 489.2 MB, free: 16.44 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.264e-06/0.499, allocations: 4 kB / 489.2 MB, free: 16.44 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.672e-05/0.499, allocations: 314.8 kB / 489.5 MB, free: 16.12 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.097e-05/0.499, allocations: 3.844 kB / 489.5 MB, free: 16.12 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.986e-05/0.4991, allocations: 24.22 kB / 489.5 MB, free: 16.1 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.584e-05/0.4991, allocations: 3.906 kB / 489.5 MB, free: 16.1 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.4991, allocations: 4 kB / 489.5 MB, free: 16.09 MB / 330.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.772e-05/0.4992, allocations: 49.02 kB / 489.6 MB, free: 16.05 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.4992, allocations: 7.719 kB / 489.6 MB, free: 16.05 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.4992, allocations: 0 / 489.6 MB, free: 16.05 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.4992, allocations: 0 / 489.6 MB, free: 16.05 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.352e-05/0.4992, allocations: 3.75 kB / 489.6 MB, free: 16.05 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.4993, allocations: 3.938 kB / 489.6 MB, free: 16.05 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.96e-05/0.4993, allocations: 3.812 kB / 489.6 MB, free: 16.05 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.4993, allocations: 3.938 kB / 489.6 MB, free: 16.05 MB / 330.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 4.142e-05/0.4993, allocations: 115.5 kB / 489.7 MB, free: 15.94 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.182e-05/0.4994, allocations: 0 / 489.7 MB, free: 15.94 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.048e-05/0.4995, allocations: 42.88 kB / 489.7 MB, free: 15.91 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.4995, allocations: 0 / 489.7 MB, free: 15.91 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.4995, allocations: 0 / 489.7 MB, free: 15.91 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-06/0.4995, allocations: 0 / 489.7 MB, free: 15.91 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001107/0.4996, allocations: 152.1 kB / 489.9 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.4996, allocations: 3.938 kB / 489.9 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.4996, allocations: 4.031 kB / 489.9 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.4996, allocations: 0 / 489.9 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.338e-06/0.4996, allocations: 3.844 kB / 489.9 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.4996, allocations: 0 / 489.9 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4996, allocations: 0 / 489.9 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.098e-05/0.4997, allocations: 137.7 kB / 490 MB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.575e-05/0.4997, allocations: 77.11 kB / 490.1 MB, free: 15.48 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.098e-05/0.4998, allocations: 6.891 kB / 490.1 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.504e-05/0.4998, allocations: 3.844 kB / 490.1 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.079e-05/0.4998, allocations: 3.938 kB / 490.1 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.626e-06/0.4998, allocations: 4 kB / 490.1 MB, free: 15.46 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.854e-05/0.4999, allocations: 79.06 kB / 490.2 MB, free: 15.39 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4999, allocations: 0 / 490.2 MB, free: 15.39 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003034/0.5002, allocations: 52.02 kB / 490.2 MB, free: 15.38 MB / 330.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.0002314/0.5004, allocations: 145.5 kB / 490.4 MB, free: 15.28 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 7.683e-05/0.5005, allocations: 44.25 kB / 490.4 MB, free: 15.24 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.5005, allocations: 0 / 490.4 MB, free: 15.24 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.263e-05/0.5005, allocations: 33.23 kB / 490.5 MB, free: 15.21 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001266/0.5007, allocations: 0 / 490.5 MB, free: 15.21 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001555/0.5008, allocations: 59.72 kB / 490.5 MB, free: 15.14 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001034/0.5009, allocations: 0.6753 MB / 491.2 MB, free: 14.45 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.893e-05/0.501, allocations: 8.188 kB / 491.2 MB, free: 14.44 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.115e-06/0.501, allocations: 7.438 kB / 491.2 MB, free: 14.43 MB / 330.7 MB Notification: Performance of SimCode: time 2.3e-07/0.501, allocations: 0 / 491.2 MB, free: 14.43 MB / 330.7 MB Notification: Performance of Templates: time 0.002515/0.5035, allocations: 0.8331 MB / 492 MB, free: 14.37 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test02RegFun3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1)