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/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.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 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004642/0.004642, allocations: 101.6 kB / 15.73 MB, free: 5.996 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.001078/0.001078, allocations: 190.1 kB / 16.67 MB, free: 5.93 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.36/1.36, allocations: 205.1 MB / 222.5 MB, free: 4.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3634/0.3634, allocations: 39.94 MB / 309.8 MB, free: 9.43 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.2. 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.001493/0.001493, allocations: 67.91 kB / 435.8 MB, free: 2.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.2894, allocations: 56.86 MB / 492.6 MB, free: 19.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.001514/0.291, allocations: 0.5006 MB / 493.1 MB, free: 19.22 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001697/0.2927, allocations: 1.394 MB / 494.5 MB, free: 18.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.198e-05/0.2928, allocations: 1.125 kB / 494.5 MB, free: 18.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.247e-05/0.2928, allocations: 3.938 kB / 494.5 MB, free: 18.21 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.086e-05/0.2928, allocations: 0 / 494.5 MB, free: 18.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007536/0.2936, allocations: 216.2 kB / 494.7 MB, free: 18.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.598e-05/0.2936, allocations: 17.41 kB / 494.8 MB, free: 18.13 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.438e-05/0.2937, allocations: 2.109 kB / 494.8 MB, free: 18.13 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.729e-05/0.2937, allocations: 3.453 kB / 494.8 MB, free: 18.13 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.839e-05/0.2937, allocations: 6.75 kB / 494.8 MB, free: 18.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.166e-05/0.2938, allocations: 1.344 kB / 494.8 MB, free: 18.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004748/0.2942, allocations: 274.5 kB / 495 MB, free: 18.06 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.393e-05/0.2943, allocations: 0.75 kB / 495 MB, free: 18.06 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.336e-05/0.2943, allocations: 1.859 kB / 495 MB, free: 18.06 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002565/0.2945, allocations: 139.4 kB / 495.2 MB, free: 18.03 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.2946, allocations: 0.9062 kB / 495.2 MB, free: 18.03 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2946, allocations: 0 / 495.2 MB, free: 18.03 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.161e-06/0.2946, allocations: 0 / 495.2 MB, free: 18.03 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.0003186/0.2949, allocations: 342 kB / 495.5 MB, free: 17.67 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.295, allocations: 17.11 kB / 495.5 MB, free: 17.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.193e-05/0.295, allocations: 7.391 kB / 495.5 MB, free: 17.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.881e-05/0.2951, allocations: 165.3 kB / 495.7 MB, free: 17.46 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.2951, allocations: 4.359 kB / 495.7 MB, free: 17.45 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.011e-05/0.2951, allocations: 1.688 kB / 495.7 MB, free: 17.45 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001051/0.2952, allocations: 42.83 kB / 495.7 MB, free: 17.41 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.2952, allocations: 0 / 495.7 MB, free: 17.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.779e-06/0.2952, allocations: 1.062 kB / 495.7 MB, free: 17.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.626e-06/0.2952, allocations: 0 / 495.7 MB, free: 17.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.253e-05/0.2953, allocations: 14.52 kB / 495.8 MB, free: 17.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002951/0.2956, allocations: 247.2 kB / 496 MB, free: 17.13 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.435e-05/0.2956, allocations: 17.06 kB / 496 MB, free: 17.11 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.568e-05/0.2956, allocations: 7.078 kB / 496 MB, free: 17.1 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.958e-06/0.2957, allocations: 0 / 496 MB, free: 17.1 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.469e-05/0.2957, allocations: 37.44 kB / 496.1 MB, free: 17.05 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 8.71e-07/0.2957, allocations: 0 / 496.1 MB, free: 17.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001294/0.2958, allocations: 40.48 kB / 496.1 MB, free: 17.02 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.122e-05/0.2958, allocations: 52.75 kB / 496.2 MB, free: 16.95 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.062e-05/0.2959, allocations: 93.8 kB / 496.2 MB, free: 16.86 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.173e-06/0.2959, allocations: 29.7 kB / 496.3 MB, free: 16.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.434e-05/0.2959, allocations: 87 kB / 496.4 MB, free: 16.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.829e-06/0.296, allocations: 3.953 kB / 496.4 MB, free: 16.73 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.193e-05/0.296, allocations: 14.23 kB / 496.4 MB, free: 16.71 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.472e-05/0.2961, allocations: 325 kB / 496.7 MB, free: 16.39 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.481e-05/0.2961, allocations: 3.531 kB / 496.7 MB, free: 16.39 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.876e-05/0.2961, allocations: 18.05 kB / 496.7 MB, free: 16.37 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.36e-05/0.2961, allocations: 30.12 kB / 496.7 MB, free: 16.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.2962, allocations: 0 / 496.7 MB, free: 16.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.407e-05/0.2962, allocations: 49.38 kB / 496.8 MB, free: 16.3 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.2962, allocations: 4.75 kB / 496.8 MB, free: 16.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.2963, allocations: 1.438 kB / 496.8 MB, free: 16.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.2963, allocations: 1.406 kB / 496.8 MB, free: 16.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.808e-05/0.2963, allocations: 8.906 kB / 496.8 MB, free: 16.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.2963, allocations: 2.641 kB / 496.8 MB, free: 16.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.708e-05/0.2964, allocations: 5.406 kB / 496.8 MB, free: 16.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.355e-06/0.2964, allocations: 2.844 kB / 496.8 MB, free: 16.29 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 5.206e-05/0.2964, allocations: 120.8 kB / 496.9 MB, free: 16.16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.278e-05/0.2965, allocations: 1.406 kB / 496.9 MB, free: 16.16 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001199/0.2966, allocations: 45.52 kB / 497 MB, free: 16.12 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.2966, allocations: 2.359 kB / 497 MB, free: 16.12 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.2966, allocations: 0 / 497 MB, free: 16.12 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.2966, allocations: 0 / 497 MB, free: 16.12 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001073/0.2967, allocations: 151.2 kB / 497.1 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.2967, allocations: 4.031 kB / 497.1 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.325e-06/0.2967, allocations: 1.688 kB / 497.1 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.2967, allocations: 96 / 497.1 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.2968, allocations: 5.297 kB / 497.1 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.2968, allocations: 0.6562 kB / 497.1 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2968, allocations: 0 / 497.1 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.894e-05/0.2969, allocations: 142.8 kB / 497.3 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.961e-05/0.2969, allocations: 78.19 kB / 497.4 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.091e-05/0.2969, allocations: 9.156 kB / 497.4 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.613e-05/0.297, allocations: 0 / 497.4 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.713e-05/0.297, allocations: 2.453 kB / 497.4 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.369e-06/0.297, allocations: 1.094 kB / 497.4 MB, free: 15.67 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.964e-05/0.297, allocations: 77.47 kB / 497.4 MB, free: 15.6 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.297, allocations: 0.8438 kB / 497.4 MB, free: 15.6 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002841/0.2973, allocations: 44.17 kB / 497.5 MB, free: 15.59 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.0002397/0.2976, allocations: 143.3 kB / 497.6 MB, free: 15.48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.862e-05/0.2977, allocations: 20.73 kB / 497.7 MB, free: 15.47 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.2977, allocations: 1.156 kB / 497.7 MB, free: 15.47 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.01e-05/0.2977, allocations: 28.17 kB / 497.7 MB, free: 15.44 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002133/0.2979, allocations: 7 kB / 497.7 MB, free: 15.44 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001773/0.2981, allocations: 89.48 kB / 497.8 MB, free: 15.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001088/0.2982, allocations: 0.6726 MB / 498.4 MB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.166e-05/0.2983, allocations: 6.234 kB / 498.5 MB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.352e-05/0.2983, allocations: 8.656 kB / 498.5 MB, free: 14.63 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2983, allocations: 1.125 kB / 498.5 MB, free: 14.63 MB / 382.1 MB Notification: Performance of Templates: time 0.00369/0.302, allocations: 1.074 MB / 499.5 MB, free: 14.53 MB / 382.1 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)