Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006418/0.006418, allocations: 100.7 kB / 15.73 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 196.1 kB / 16.67 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.346/1.346, allocations: 205.1 MB / 222.5 MB, free: 4.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2717/0.2717, allocations: 38 MB / 307.9 MB, free: 9.926 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001467, allocations: 63.91 kB / 433 MB, free: 5.434 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.236/0.2375, allocations: 56.46 MB / 489.4 MB, free: 19.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001452/0.239, allocations: 0.5009 MB / 489.9 MB, free: 19.62 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001387/0.2404, allocations: 1.379 MB / 491.3 MB, free: 18.63 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.881e-05/0.2404, allocations: 3.938 kB / 491.3 MB, free: 18.62 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.342e-05/0.2404, allocations: 1.375 kB / 491.3 MB, free: 18.62 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 1.976e-05/0.2404, allocations: 7.938 kB / 491.3 MB, free: 18.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000624/0.2411, allocations: 223.3 kB / 491.6 MB, free: 18.54 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.035e-05/0.2411, allocations: 6.547 kB / 491.6 MB, free: 18.54 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.676e-05/0.2412, allocations: 1.812 kB / 491.6 MB, free: 18.54 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.535e-05/0.2412, allocations: 2.688 kB / 491.6 MB, free: 18.54 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.342e-05/0.2412, allocations: 7.641 kB / 491.6 MB, free: 18.54 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.145e-05/0.2413, allocations: 0 / 491.6 MB, free: 18.54 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004561/0.2417, allocations: 274.6 kB / 491.8 MB, free: 18.47 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.225e-05/0.2417, allocations: 5.297 kB / 491.8 MB, free: 18.46 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.795e-05/0.2418, allocations: 6.266 kB / 491.8 MB, free: 18.46 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002233/0.242, allocations: 144.2 kB / 492 MB, free: 18.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.242, allocations: 0 / 492 MB, free: 18.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.242, allocations: 1.125 kB / 492 MB, free: 18.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.242, allocations: 0 / 492 MB, free: 18.43 MB / 382.1 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.0002761/0.2423, allocations: 343.7 kB / 492.3 MB, free: 18.06 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.2423, allocations: 13.98 kB / 492.3 MB, free: 18.06 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.853e-05/0.2424, allocations: 1.625 kB / 492.3 MB, free: 18.06 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.782e-05/0.2424, allocations: 163.2 kB / 492.5 MB, free: 17.86 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.2424, allocations: 1.469 kB / 492.5 MB, free: 17.86 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.272e-06/0.2425, allocations: 4.375 kB / 492.5 MB, free: 17.86 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.184e-05/0.2425, allocations: 34.69 kB / 492.5 MB, free: 17.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.301e-06/0.2425, allocations: 3.938 kB / 492.5 MB, free: 17.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.866e-06/0.2426, allocations: 2.188 kB / 492.5 MB, free: 17.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.2426, allocations: 0 / 492.5 MB, free: 17.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.759e-05/0.2426, allocations: 2.281 kB / 492.5 MB, free: 17.82 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.501e-05/0.2427, allocations: 150.3 kB / 492.7 MB, free: 17.63 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.945e-05/0.2427, allocations: 23.88 kB / 492.7 MB, free: 17.6 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.367e-05/0.2427, allocations: 6.016 kB / 492.7 MB, free: 17.59 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.566e-06/0.2427, allocations: 5.062 kB / 492.7 MB, free: 17.59 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.474e-05/0.2428, allocations: 36.83 kB / 492.8 MB, free: 17.55 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.903e-06/0.2428, allocations: 3.984 kB / 492.8 MB, free: 17.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001056/0.2429, allocations: 41.56 kB / 492.8 MB, free: 17.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.342e-05/0.2429, allocations: 51.41 kB / 492.9 MB, free: 17.44 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.895e-05/0.243, allocations: 99.5 kB / 493 MB, free: 17.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.602e-06/0.243, allocations: 25.7 kB / 493 MB, free: 17.31 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.097e-05/0.243, allocations: 81.36 kB / 493.1 MB, free: 17.23 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.748e-05/0.243, allocations: 3.953 kB / 493.1 MB, free: 17.22 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.369e-05/0.243, allocations: 17.11 kB / 493.1 MB, free: 17.2 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.205e-05/0.2431, allocations: 313.2 kB / 493.4 MB, free: 16.89 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.298e-06/0.2431, allocations: 1.188 kB / 493.4 MB, free: 16.89 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.653e-06/0.2431, allocations: 5.094 kB / 493.4 MB, free: 16.89 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.124e-05/0.2431, allocations: 17.59 kB / 493.4 MB, free: 16.87 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.2431, allocations: 0 / 493.4 MB, free: 16.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.536e-05/0.2432, allocations: 37.55 kB / 493.4 MB, free: 16.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.2432, allocations: 10.34 kB / 493.5 MB, free: 16.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.935e-06/0.2432, allocations: 0 / 493.5 MB, free: 16.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/0.2432, allocations: 1.125 kB / 493.5 MB, free: 16.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.681e-05/0.2433, allocations: 3.266 kB / 493.5 MB, free: 16.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.2433, allocations: 0 / 493.5 MB, free: 16.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.177e-05/0.2433, allocations: 1.156 kB / 493.5 MB, free: 16.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-06/0.2433, allocations: 4.031 kB / 493.5 MB, free: 16.83 MB / 382.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.544e-05/0.2433, allocations: 108.1 kB / 493.6 MB, free: 16.71 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.185e-06/0.2434, allocations: 5.25 kB / 493.6 MB, free: 16.71 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.162e-05/0.2435, allocations: 48.78 kB / 493.6 MB, free: 16.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.2435, allocations: 0 / 493.6 MB, free: 16.66 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.2435, allocations: 5.062 kB / 493.6 MB, free: 16.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.2435, allocations: 1.219 kB / 493.6 MB, free: 16.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.974e-05/0.2435, allocations: 146.5 kB / 493.8 MB, free: 16.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.471e-06/0.2435, allocations: 5.094 kB / 493.8 MB, free: 16.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.2436, allocations: 0 / 493.8 MB, free: 16.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.2436, allocations: 5.25 kB / 493.8 MB, free: 16.46 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.909e-06/0.2436, allocations: 0 / 493.8 MB, free: 16.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.2436, allocations: 5.766 kB / 493.8 MB, free: 16.46 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2436, allocations: 0 / 493.8 MB, free: 16.46 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.386e-05/0.2436, allocations: 71.5 kB / 493.9 MB, free: 16.38 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.429e-05/0.2437, allocations: 81.8 kB / 493.9 MB, free: 16.29 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.829e-06/0.2437, allocations: 2.062 kB / 493.9 MB, free: 16.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.849e-05/0.2437, allocations: 2.797 kB / 493.9 MB, free: 16.29 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.049e-05/0.2438, allocations: 1.719 kB / 493.9 MB, free: 16.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.2438, allocations: 0.9062 kB / 493.9 MB, free: 16.29 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.598e-05/0.2438, allocations: 77.25 kB / 494 MB, free: 16.21 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2438, allocations: 1.281 kB / 494 MB, free: 16.21 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000226/0.244, allocations: 43.7 kB / 494.1 MB, free: 16.2 MB / 382.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002352/0.2443, allocations: 139.4 kB / 494.2 MB, free: 16.1 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 6.25e-05/0.2443, allocations: 5.156 kB / 494.2 MB, free: 16.1 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2443, allocations: 0 / 494.2 MB, free: 16.1 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.728e-05/0.2444, allocations: 30.53 kB / 494.2 MB, free: 16.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001376/0.2445, allocations: 7.172 kB / 494.2 MB, free: 16.07 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001669/0.2447, allocations: 88.06 kB / 494.3 MB, free: 15.97 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.829e-05/0.2448, allocations: 0.6772 MB / 495 MB, free: 15.27 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.326e-05/0.2448, allocations: 1.062 kB / 495 MB, free: 15.27 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.808e-06/0.2448, allocations: 12.47 kB / 495 MB, free: 15.26 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.2448, allocations: 1.219 kB / 495 MB, free: 15.26 MB / 382.1 MB Notification: Performance of Templates: time 0.003036/0.2479, allocations: 1.062 MB / 496.1 MB, free: 15.18 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test01RegFun3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1)