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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00481/0.00481, allocations: 99.05 kB / 15.73 MB, free: 6.004 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.001128/0.001128, allocations: 199.4 kB / 16.68 MB, free: 5.934 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.344/1.344, allocations: 205.1 MB / 222.5 MB, free: 4.551 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.2812/0.2812, allocations: 38 MB / 307.9 MB, free: 9.969 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.001516/0.001516, allocations: 67.91 kB / 433 MB, free: 5.445 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2877/0.2892, allocations: 56.47 MB / 489.4 MB, free: 20.22 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.001518/0.2908, allocations: 0.4999 MB / 489.9 MB, free: 19.92 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001553/0.2924, allocations: 1.386 MB / 491.3 MB, free: 18.92 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.488e-05/0.2924, allocations: 1.844 kB / 491.3 MB, free: 18.92 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.356e-05/0.2924, allocations: 0 / 491.3 MB, free: 18.92 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.628e-05/0.2925, allocations: 0 / 491.3 MB, free: 18.92 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006966/0.2932, allocations: 226.8 kB / 491.6 MB, free: 18.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.738e-05/0.2932, allocations: 9.578 kB / 491.6 MB, free: 18.83 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.402e-05/0.2933, allocations: 5.984 kB / 491.6 MB, free: 18.83 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.958e-05/0.2933, allocations: 7.266 kB / 491.6 MB, free: 18.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.667e-05/0.2933, allocations: 3.375 kB / 491.6 MB, free: 18.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.196e-05/0.2934, allocations: 1.125 kB / 491.6 MB, free: 18.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004514/0.2938, allocations: 270 kB / 491.8 MB, free: 18.76 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.253e-05/0.2938, allocations: 5.797 kB / 491.8 MB, free: 18.76 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.004e-05/0.2939, allocations: 5.031 kB / 491.9 MB, free: 18.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002812/0.2941, allocations: 140.6 kB / 492 MB, free: 18.72 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.2942, allocations: 0 / 492 MB, free: 18.72 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.2942, allocations: 1.094 kB / 492 MB, free: 18.72 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.2942, allocations: 0 / 492 MB, free: 18.72 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003224/0.2945, allocations: 338.9 kB / 492.3 MB, free: 18.36 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.2945, allocations: 14.45 kB / 492.3 MB, free: 18.35 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.757e-05/0.2946, allocations: 1.938 kB / 492.3 MB, free: 18.35 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.343e-05/0.2947, allocations: 166.9 kB / 492.5 MB, free: 18.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.2947, allocations: 1.781 kB / 492.5 MB, free: 18.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.636e-06/0.2947, allocations: 1.219 kB / 492.5 MB, free: 18.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000115/0.2948, allocations: 43.61 kB / 492.5 MB, free: 18.12 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.2948, allocations: 0 / 492.5 MB, free: 18.12 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.2948, allocations: 1.062 kB / 492.5 MB, free: 18.12 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.177e-06/0.2949, allocations: 4 kB / 492.6 MB, free: 18.11 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.715e-05/0.2949, allocations: 14 kB / 492.6 MB, free: 18.11 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003231/0.2952, allocations: 239.1 kB / 492.8 MB, free: 17.84 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.113e-05/0.2953, allocations: 18.08 kB / 492.8 MB, free: 17.81 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.644e-05/0.2953, allocations: 10.44 kB / 492.8 MB, free: 17.8 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.883e-06/0.2953, allocations: 0 / 492.8 MB, free: 17.8 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.2953, allocations: 44.62 kB / 492.9 MB, free: 17.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 7.91e-07/0.2953, allocations: 0 / 492.9 MB, free: 17.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001384/0.2955, allocations: 36.64 kB / 492.9 MB, free: 17.71 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.466e-05/0.2955, allocations: 52.53 kB / 493 MB, free: 17.65 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.148e-05/0.2956, allocations: 95.38 kB / 493 MB, free: 17.55 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.834e-06/0.2956, allocations: 29.7 kB / 493.1 MB, free: 17.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.524e-05/0.2956, allocations: 85.39 kB / 493.2 MB, free: 17.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.466e-06/0.2956, allocations: 9.078 kB / 493.2 MB, free: 17.43 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.664e-05/0.2957, allocations: 18.78 kB / 493.2 MB, free: 17.41 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.292e-05/0.2957, allocations: 319.4 kB / 493.5 MB, free: 17.09 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.23e-05/0.2957, allocations: 3.109 kB / 493.5 MB, free: 17.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.901e-05/0.2958, allocations: 19.55 kB / 493.5 MB, free: 17.06 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.272e-05/0.2958, allocations: 32.92 kB / 493.6 MB, free: 17.03 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.2958, allocations: 0 / 493.6 MB, free: 17.03 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.115e-05/0.2959, allocations: 45.48 kB / 493.6 MB, free: 16.99 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.2959, allocations: 10 kB / 493.6 MB, free: 16.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.2959, allocations: 1.031 kB / 493.6 MB, free: 16.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.2959, allocations: 1.188 kB / 493.6 MB, free: 16.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.016e-05/0.296, allocations: 9.797 kB / 493.6 MB, free: 16.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.296, allocations: 1.766 kB / 493.6 MB, free: 16.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.748e-05/0.296, allocations: 1.219 kB / 493.6 MB, free: 16.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.296, allocations: 6.594 kB / 493.6 MB, free: 16.98 MB / 382.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 4.136e-05/0.2961, allocations: 115.5 kB / 493.7 MB, free: 16.86 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.8e-05/0.2961, allocations: 1.984 kB / 493.7 MB, free: 16.86 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.448e-05/0.2962, allocations: 42.95 kB / 493.8 MB, free: 16.82 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.2962, allocations: 1.094 kB / 493.8 MB, free: 16.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.2962, allocations: 32 / 493.8 MB, free: 16.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.2962, allocations: 4.609 kB / 493.8 MB, free: 16.81 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001044/0.2963, allocations: 150.4 kB / 493.9 MB, free: 16.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.2963, allocations: 1.703 kB / 493.9 MB, free: 16.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.744e-06/0.2963, allocations: 5.062 kB / 493.9 MB, free: 16.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.2964, allocations: 0 / 493.9 MB, free: 16.62 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.2964, allocations: 1 kB / 493.9 MB, free: 16.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.2964, allocations: 0.7031 kB / 493.9 MB, free: 16.62 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2964, allocations: 1.031 kB / 493.9 MB, free: 16.62 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.484e-05/0.2964, allocations: 145.4 kB / 494.1 MB, free: 16.47 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.66e-05/0.2965, allocations: 81.84 kB / 494.2 MB, free: 16.37 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.116e-05/0.2965, allocations: 2.125 kB / 494.2 MB, free: 16.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.068e-05/0.2966, allocations: 0 / 494.2 MB, free: 16.37 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.411e-05/0.2966, allocations: 1.609 kB / 494.2 MB, free: 16.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.2966, allocations: 1.406 kB / 494.2 MB, free: 16.37 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.919e-05/0.2966, allocations: 78.77 kB / 494.3 MB, free: 16.3 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2966, allocations: 0 / 494.3 MB, free: 16.3 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003098/0.2969, allocations: 47.8 kB / 494.3 MB, free: 16.29 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.0002462/0.2972, allocations: 138.1 kB / 494.4 MB, free: 16.19 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.446e-05/0.2973, allocations: 16.91 kB / 494.5 MB, free: 16.18 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2973, allocations: 0 / 494.5 MB, free: 16.18 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.852e-05/0.2973, allocations: 29.61 kB / 494.5 MB, free: 16.15 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002074/0.2975, allocations: 6.219 kB / 494.5 MB, free: 16.14 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000181/0.2977, allocations: 82.38 kB / 494.6 MB, free: 16.05 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.988e-05/0.2978, allocations: 0.6771 MB / 495.2 MB, free: 15.36 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.169e-05/0.2979, allocations: 1.25 kB / 495.2 MB, free: 15.36 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.359e-05/0.2979, allocations: 9.312 kB / 495.3 MB, free: 15.35 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2979, allocations: 0 / 495.3 MB, free: 15.35 MB / 382.1 MB Notification: Performance of Templates: time 0.00357/0.3015, allocations: 1.073 MB / 496.3 MB, free: 15.25 MB / 382.1 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)