Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.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.TestRegFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005212/0.005212, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001392/0.001392, allocations: 197.1 kB / 16.67 MB, free: 5.977 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.368/1.368, allocations: 205.1 MB / 222.5 MB, free: 4.52 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.3499/0.3499, allocations: 39.94 MB / 309.8 MB, free: 9.375 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.001564/0.001564, allocations: 75.89 kB / 435.8 MB, free: 2.43 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.2823, allocations: 56.87 MB / 492.7 MB, free: 19.45 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001937/0.2843, allocations: 0.5696 MB / 493.3 MB, free: 19.11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003931/0.2847, allocations: 125 kB / 493.4 MB, free: 19.03 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.632e-05/0.2847, allocations: 0 / 493.4 MB, free: 19.03 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.28e-05/0.2848, allocations: 3.938 kB / 493.4 MB, free: 19.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003057/0.2851, allocations: 40.55 kB / 493.4 MB, free: 19 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.028e-06/0.2851, allocations: 0 / 493.4 MB, free: 19 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.587e-05/0.2852, allocations: 21.38 kB / 493.4 MB, free: 19 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.278e-05/0.2852, allocations: 5.766 kB / 493.4 MB, free: 18.99 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.16e-05/0.2853, allocations: 13.91 kB / 493.5 MB, free: 18.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.271e-05/0.2853, allocations: 11.92 kB / 493.5 MB, free: 18.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.174e-05/0.2853, allocations: 1.281 kB / 493.5 MB, free: 18.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001316/0.2855, allocations: 52.97 kB / 493.5 MB, free: 18.96 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.407e-05/0.2855, allocations: 10.33 kB / 493.5 MB, free: 18.96 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.18e-05/0.2855, allocations: 10.53 kB / 493.5 MB, free: 18.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001323/0.2857, allocations: 42.19 kB / 493.6 MB, free: 18.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.2857, allocations: 1.094 kB / 493.6 MB, free: 18.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.2857, allocations: 0 / 493.6 MB, free: 18.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.2857, allocations: 0 / 493.6 MB, free: 18.93 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003181/0.286, allocations: 347.4 kB / 493.9 MB, free: 18.56 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.2861, allocations: 12.42 kB / 493.9 MB, free: 18.56 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.986e-05/0.2861, allocations: 3.703 kB / 493.9 MB, free: 18.56 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.58e-05/0.2862, allocations: 171.7 kB / 494.1 MB, free: 18.36 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.2863, allocations: 1.5 kB / 494.1 MB, free: 18.36 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.445e-05/0.2863, allocations: 7.938 kB / 494.1 MB, free: 18.35 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.2864, allocations: 58.83 kB / 494.2 MB, free: 18.31 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.2865, allocations: 192 / 494.2 MB, free: 18.31 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.2865, allocations: 6.203 kB / 494.2 MB, free: 18.3 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.2865, allocations: 1.188 kB / 494.2 MB, free: 18.3 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001369/0.2866, allocations: 58.03 kB / 494.2 MB, free: 18.29 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001815/0.2868, allocations: 182.5 kB / 494.4 MB, free: 18.08 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001777/0.287, allocations: 78.81 kB / 494.5 MB, free: 18.04 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.618e-05/0.2871, allocations: 34.08 kB / 494.5 MB, free: 18.02 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003435/0.2874, allocations: 251.7 kB / 494.8 MB, free: 17.73 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/0.2874, allocations: 36.48 kB / 494.8 MB, free: 17.69 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.403e-06/0.2875, allocations: 0 / 494.8 MB, free: 17.69 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002678/0.2877, allocations: 109.7 kB / 494.9 MB, free: 17.63 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/0.2878, allocations: 52.5 kB / 495 MB, free: 17.57 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.671e-05/0.2878, allocations: 95.66 kB / 495.1 MB, free: 17.46 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.033e-05/0.2879, allocations: 26.64 kB / 495.1 MB, free: 17.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.919e-05/0.2879, allocations: 82.02 kB / 495.2 MB, free: 17.35 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.535e-05/0.2879, allocations: 37.31 kB / 495.2 MB, free: 17.32 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.005e-05/0.288, allocations: 21.73 kB / 495.2 MB, free: 17.3 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.877e-05/0.2881, allocations: 318.1 kB / 495.5 MB, free: 16.98 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.208e-05/0.2881, allocations: 21.09 kB / 495.6 MB, free: 16.98 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.862e-05/0.2882, allocations: 17.59 kB / 495.6 MB, free: 16.97 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.953e-05/0.2882, allocations: 47.58 kB / 495.6 MB, free: 16.95 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2883, allocations: 0 / 495.6 MB, free: 16.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001328/0.2884, allocations: 87.16 kB / 495.7 MB, free: 16.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.2884, allocations: 6.734 kB / 495.7 MB, free: 16.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.2884, allocations: 3.938 kB / 495.7 MB, free: 16.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.2884, allocations: 1.562 kB / 495.7 MB, free: 16.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.2886, allocations: 22.78 kB / 495.7 MB, free: 16.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.2886, allocations: 4.656 kB / 495.7 MB, free: 16.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.959e-05/0.2886, allocations: 12.94 kB / 495.8 MB, free: 16.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.417e-06/0.2886, allocations: 3.672 kB / 495.8 MB, free: 16.87 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 (10): * Single equations (assignments): 10 * 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 7.027e-05/0.2887, allocations: 111.9 kB / 495.9 MB, free: 16.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.149e-05/0.2887, allocations: 2.906 kB / 495.9 MB, free: 16.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002011/0.2889, allocations: 100.5 kB / 496 MB, free: 16.68 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.289, allocations: 2.047 kB / 496 MB, free: 16.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.289, allocations: 0 / 496 MB, free: 16.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.289, allocations: 5.984 kB / 496 MB, free: 16.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001074/0.2891, allocations: 169.6 kB / 496.1 MB, free: 16.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2891, allocations: 0 / 496.1 MB, free: 16.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.589e-05/0.2892, allocations: 18.91 kB / 496.2 MB, free: 16.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.2892, allocations: 1.906 kB / 496.2 MB, free: 16.47 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.2892, allocations: 5.312 kB / 496.2 MB, free: 16.47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.349e-06/0.2892, allocations: 0.6094 kB / 496.2 MB, free: 16.47 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.2892, allocations: 5.25 kB / 496.2 MB, free: 16.46 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001655/0.2894, allocations: 113.7 kB / 496.3 MB, free: 16.38 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.919e-05/0.2894, allocations: 84.27 kB / 496.4 MB, free: 16.28 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.2894, allocations: 4.641 kB / 496.4 MB, free: 16.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.336e-05/0.2895, allocations: 1.406 kB / 496.4 MB, free: 16.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.45e-05/0.2895, allocations: 9.25 kB / 496.4 MB, free: 16.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.2895, allocations: 7.203 kB / 496.4 MB, free: 16.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.068e-05/0.2895, allocations: 80.66 kB / 496.5 MB, free: 16.19 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2896, allocations: 0 / 496.5 MB, free: 16.19 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002084/0.2898, allocations: 12.44 kB / 496.5 MB, free: 16.19 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 (10): * Single equations (assignments): 10 * 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 Backend phase and start with SimCode phase: time 0.0001421/0.2899, allocations: 111.9 kB / 496.6 MB, free: 16.09 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001597/0.2901, allocations: 55.8 kB / 496.6 MB, free: 16.07 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.2901, allocations: 0 / 496.6 MB, free: 16.07 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.188e-05/0.2901, allocations: 30.91 kB / 496.7 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.0001526/0.2903, allocations: 8.062 kB / 496.7 MB, free: 16.06 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000307/0.2906, allocations: 150.2 kB / 496.8 MB, free: 15.93 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001261/0.2908, allocations: 0.6845 MB / 497.5 MB, free: 15.23 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.697e-05/0.2908, allocations: 18 kB / 497.5 MB, free: 15.22 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.379e-05/0.2908, allocations: 12.14 kB / 497.5 MB, free: 15.21 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2908, allocations: 0 / 497.5 MB, free: 15.21 MB / 382.1 MB Notification: Performance of Templates: time 0.003063/0.2939, allocations: 0.6587 MB / 498.2 MB, free: 15.12 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1)