Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.TestRegFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.007118/0.007118, allocations: 95.61 kB / 15.73 MB, free: 6.043 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.002196/0.002197, allocations: 196.7 kB / 16.67 MB, free: 5.973 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.343/1.343, 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.1+maint.om/package.mo): time 0.2904/0.2904, allocations: 37.99 MB / 307.9 MB, free: 10.12 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.001578/0.001578, allocations: 71.91 kB / 433 MB, free: 5.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2818/0.2834, allocations: 56.46 MB / 489.5 MB, free: 19.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001551/0.285, allocations: 0.5687 MB / 490.1 MB, free: 19.56 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003229/0.2854, allocations: 128.5 kB / 490.2 MB, free: 19.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.99e-05/0.2854, allocations: 4 kB / 490.2 MB, free: 19.47 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.682e-05/0.2854, allocations: 0 / 490.2 MB, free: 19.47 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002497/0.2857, allocations: 46.41 kB / 490.2 MB, free: 19.45 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.458e-06/0.2857, allocations: 0 / 490.2 MB, free: 19.45 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.085e-05/0.2858, allocations: 17 kB / 490.2 MB, free: 19.44 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.903e-05/0.2858, allocations: 3.797 kB / 490.3 MB, free: 19.44 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.13e-05/0.2858, allocations: 16.39 kB / 490.3 MB, free: 19.43 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.045e-05/0.2859, allocations: 11.12 kB / 490.3 MB, free: 19.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.15e-05/0.2859, allocations: 2.969 kB / 490.3 MB, free: 19.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001164/0.2861, allocations: 53.38 kB / 490.3 MB, free: 19.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.109e-05/0.2861, allocations: 9.406 kB / 490.3 MB, free: 19.4 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.762e-05/0.2861, allocations: 12.38 kB / 490.4 MB, free: 19.39 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000117/0.2862, allocations: 41.11 kB / 490.4 MB, free: 19.38 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.2862, allocations: 3.938 kB / 490.4 MB, free: 19.38 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2862, allocations: 0 / 490.4 MB, free: 19.38 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.846e-06/0.2862, allocations: 0 / 490.4 MB, free: 19.38 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.0002723/0.2865, allocations: 347.4 kB / 490.7 MB, free: 19.01 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.2866, allocations: 12.92 kB / 490.8 MB, free: 19.01 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.947e-05/0.2866, allocations: 0.9375 kB / 490.8 MB, free: 19.01 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.311e-05/0.2867, allocations: 167.3 kB / 490.9 MB, free: 18.81 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.2867, allocations: 2.594 kB / 490.9 MB, free: 18.81 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.48e-05/0.2867, allocations: 7.969 kB / 490.9 MB, free: 18.8 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/0.2869, allocations: 59.14 kB / 491 MB, free: 18.76 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.2869, allocations: 192 / 491 MB, free: 18.76 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.2869, allocations: 9.172 kB / 491 MB, free: 18.75 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.2869, allocations: 1 kB / 491 MB, free: 18.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001357/0.287, allocations: 53.42 kB / 491 MB, free: 18.74 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001511/0.2872, allocations: 174.1 kB / 491.2 MB, free: 18.54 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001468/0.2874, allocations: 89.81 kB / 491.3 MB, free: 18.48 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.058e-05/0.2874, allocations: 28.89 kB / 491.3 MB, free: 18.47 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003039/0.2877, allocations: 252.5 kB / 491.6 MB, free: 18.19 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.958e-05/0.2877, allocations: 35.72 kB / 491.6 MB, free: 18.14 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.283e-06/0.2878, allocations: 1.625 kB / 491.6 MB, free: 18.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002369/0.288, allocations: 104.7 kB / 491.7 MB, free: 18.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.315e-05/0.288, allocations: 56.44 kB / 491.8 MB, free: 18.02 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.729e-05/0.2881, allocations: 93.47 kB / 491.9 MB, free: 17.92 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.526e-06/0.2881, allocations: 29.7 kB / 491.9 MB, free: 17.89 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.272e-05/0.2881, allocations: 81.3 kB / 492 MB, free: 17.8 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.028e-05/0.2882, allocations: 33.97 kB / 492 MB, free: 17.78 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.97e-05/0.2882, allocations: 22.31 kB / 492 MB, free: 17.76 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.381e-05/0.2883, allocations: 321.2 kB / 492.3 MB, free: 17.44 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.812e-05/0.2883, allocations: 20.47 kB / 492.4 MB, free: 17.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.386e-05/0.2883, allocations: 17.14 kB / 492.4 MB, free: 17.43 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.383e-05/0.2884, allocations: 51.58 kB / 492.4 MB, free: 17.4 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.2884, allocations: 0.6562 kB / 492.4 MB, free: 17.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000117/0.2886, allocations: 92.45 kB / 492.5 MB, free: 17.34 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.2886, allocations: 5.531 kB / 492.5 MB, free: 17.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.2886, allocations: 3.938 kB / 492.5 MB, free: 17.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.2886, allocations: 1.859 kB / 492.5 MB, free: 17.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.956e-05/0.2887, allocations: 19.39 kB / 492.5 MB, free: 17.33 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.2887, allocations: 3.984 kB / 492.6 MB, free: 17.33 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.347e-05/0.2888, allocations: 6.188 kB / 492.6 MB, free: 17.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.2888, allocations: 2.625 kB / 492.6 MB, free: 17.32 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 5.06e-05/0.2888, allocations: 112.6 kB / 492.7 MB, free: 17.21 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.263e-05/0.2888, allocations: 5.812 kB / 492.7 MB, free: 17.2 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001792/0.289, allocations: 108.9 kB / 492.8 MB, free: 17.12 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.726e-06/0.289, allocations: 2.25 kB / 492.8 MB, free: 17.12 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.2891, allocations: 0 / 492.8 MB, free: 17.12 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.2891, allocations: 0.6562 kB / 492.8 MB, free: 17.12 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.057e-05/0.2892, allocations: 182.1 kB / 493 MB, free: 16.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2892, allocations: 1.891 kB / 493 MB, free: 16.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.661e-05/0.2892, allocations: 14.39 kB / 493 MB, free: 16.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.2892, allocations: 1.5 kB / 493 MB, free: 16.91 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.2893, allocations: 4.969 kB / 493 MB, free: 16.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.2893, allocations: 0.7031 kB / 493 MB, free: 16.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2893, allocations: 0.5312 kB / 493 MB, free: 16.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001397/0.2894, allocations: 114.8 kB / 493.1 MB, free: 16.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.871e-05/0.2894, allocations: 83.28 kB / 493.2 MB, free: 16.72 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.2895, allocations: 5.625 kB / 493.2 MB, free: 16.72 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.253e-05/0.2895, allocations: 0.875 kB / 493.2 MB, free: 16.72 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.94e-05/0.2895, allocations: 9.125 kB / 493.2 MB, free: 16.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/0.2895, allocations: 3.391 kB / 493.2 MB, free: 16.71 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.601e-05/0.2896, allocations: 76.31 kB / 493.3 MB, free: 16.64 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2896, allocations: 288 / 493.3 MB, free: 16.64 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002054/0.2898, allocations: 20.45 kB / 493.3 MB, free: 16.63 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.0001268/0.2899, allocations: 113.2 kB / 493.4 MB, free: 16.54 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001362/0.29, allocations: 58.78 kB / 493.5 MB, free: 16.52 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2901, allocations: 1.094 kB / 493.5 MB, free: 16.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.517e-05/0.2901, allocations: 34.45 kB / 493.5 MB, free: 16.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001401/0.2902, allocations: 2.188 kB / 493.5 MB, free: 16.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002895/0.2905, allocations: 137 kB / 493.6 MB, free: 16.39 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.927e-05/0.2907, allocations: 0.6812 MB / 494.3 MB, free: 15.69 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.374e-05/0.2907, allocations: 9.344 kB / 494.3 MB, free: 15.69 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.165e-05/0.2907, allocations: 15.92 kB / 494.3 MB, free: 15.68 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2907, allocations: 0 / 494.3 MB, free: 15.68 MB / 382.1 MB Notification: Performance of Templates: time 0.002671/0.2934, allocations: 0.66 MB / 495 MB, free: 15.58 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1)