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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.001714/0.001715, allocations: 169.7 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.374/1.374, allocations: 170.6 MB / 183.8 MB, free: 11.43 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001613/0.001613, allocations: 114.9 kB / 223.2 MB, free: 4.043 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1708/0.1708, allocations: 37.99 MB / 300.4 MB, free: 5.34 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.707e-05/3.708e-05, allocations: 4 kB / 357 MB, free: 32.33 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1144, allocations: 48.71 MB / 405.7 MB, free: 15.65 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3842/0.4987, allocations: 72.79 MB / 478.5 MB, free: 18.66 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001803/0.4989, allocations: 63.52 kB / 478.5 MB, free: 18.66 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002356/0.5013, allocations: 0.8949 MB / 479.4 MB, free: 18.32 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.5013, allocations: 0 / 479.4 MB, free: 18.32 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.633e-06/0.5013, allocations: 1.156 kB / 479.4 MB, free: 18.32 MB / 330.7 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.0001801/0.5015, allocations: 333.6 kB / 479.8 MB, free: 17.96 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.5015, allocations: 13.88 kB / 479.8 MB, free: 17.96 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.922e-05/0.5016, allocations: 5.469 kB / 479.8 MB, free: 17.96 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.433e-05/0.5017, allocations: 178.8 kB / 480 MB, free: 17.75 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.5017, allocations: 8.891 kB / 480 MB, free: 17.75 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.601e-05/0.5017, allocations: 8.719 kB / 480 MB, free: 17.74 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/0.5018, allocations: 52.22 kB / 480 MB, free: 17.71 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.5019, allocations: 0 / 480 MB, free: 17.71 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.5019, allocations: 3.375 kB / 480 MB, free: 17.71 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.5019, allocations: 1.094 kB / 480 MB, free: 17.71 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.639e-05/0.502, allocations: 52.53 kB / 480.1 MB, free: 17.71 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001397/0.5021, allocations: 179.2 kB / 480.3 MB, free: 17.51 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000116/0.5022, allocations: 72.11 kB / 480.3 MB, free: 17.48 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.631e-05/0.5023, allocations: 30.05 kB / 480.4 MB, free: 17.48 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002427/0.5026, allocations: 251.1 kB / 480.6 MB, free: 17.2 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.848e-05/0.5026, allocations: 31.72 kB / 480.6 MB, free: 17.16 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 1.292e-06/0.5026, allocations: 3.938 kB / 480.6 MB, free: 17.15 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001697/0.5028, allocations: 78.02 kB / 480.7 MB, free: 17.12 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.213e-05/0.5028, allocations: 53.88 kB / 480.8 MB, free: 17.05 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.551e-05/0.5028, allocations: 89.75 kB / 480.9 MB, free: 16.96 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.348e-06/0.5029, allocations: 25.7 kB / 480.9 MB, free: 16.93 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.403e-05/0.5029, allocations: 85.33 kB / 481 MB, free: 16.85 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.497e-05/0.5029, allocations: 34.81 kB / 481 MB, free: 16.82 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-06/0.5029, allocations: 0 / 481 MB, free: 16.82 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.648e-05/0.503, allocations: 323.3 kB / 481.3 MB, free: 16.51 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.973e-05/0.503, allocations: 13.47 kB / 481.3 MB, free: 16.51 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.775e-05/0.5031, allocations: 26.59 kB / 481.4 MB, free: 16.5 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.794e-05/0.5031, allocations: 16.52 kB / 481.4 MB, free: 16.5 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.5031, allocations: 0 / 481.4 MB, free: 16.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001105/0.5032, allocations: 82.03 kB / 481.5 MB, free: 16.46 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.5032, allocations: 4.812 kB / 481.5 MB, free: 16.46 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.5033, allocations: 2.062 kB / 481.5 MB, free: 16.46 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.5033, allocations: 1.219 kB / 481.5 MB, free: 16.46 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.66e-05/0.5034, allocations: 14.98 kB / 481.5 MB, free: 16.46 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.5034, allocations: 0 / 481.5 MB, free: 16.46 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.375e-05/0.5034, allocations: 8.625 kB / 481.5 MB, free: 16.46 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.5034, allocations: 2.375 kB / 481.5 MB, free: 16.46 MB / 330.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.61e-05/0.5035, allocations: 110.6 kB / 481.6 MB, free: 16.35 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.111e-05/0.5035, allocations: 10.08 kB / 481.6 MB, free: 16.34 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001812/0.5037, allocations: 97.55 kB / 481.7 MB, free: 16.3 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.5037, allocations: 1.156 kB / 481.7 MB, free: 16.3 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.5037, allocations: 0 / 481.7 MB, free: 16.3 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.5037, allocations: 4 kB / 481.7 MB, free: 16.3 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.988e-05/0.5038, allocations: 176.5 kB / 481.9 MB, free: 16.1 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.5038, allocations: 3.5 kB / 481.9 MB, free: 16.1 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.146e-05/0.5039, allocations: 14.03 kB / 481.9 MB, free: 16.1 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.5039, allocations: 1.562 kB / 481.9 MB, free: 16.1 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.5039, allocations: 9.766 kB / 481.9 MB, free: 16.1 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.5039, allocations: 384 / 481.9 MB, free: 16.1 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.5039, allocations: 0 / 481.9 MB, free: 16.1 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000122/0.5041, allocations: 109.2 kB / 482 MB, free: 16.03 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.937e-05/0.5041, allocations: 84.39 kB / 482.1 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.355e-05/0.5041, allocations: 1.094 kB / 482.1 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.461e-05/0.5041, allocations: 7.828 kB / 482.1 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.191e-05/0.5042, allocations: 6.234 kB / 482.1 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-06/0.5042, allocations: 2.406 kB / 482.1 MB, free: 15.93 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.817e-05/0.5042, allocations: 78.73 kB / 482.2 MB, free: 15.85 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5042, allocations: 0 / 482.2 MB, free: 15.85 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000193/0.5044, allocations: 24.16 kB / 482.2 MB, free: 15.84 MB / 330.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001259/0.5045, allocations: 118.2 kB / 482.3 MB, free: 15.75 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001384/0.5047, allocations: 49.41 kB / 482.4 MB, free: 15.74 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.5047, allocations: 0 / 482.4 MB, free: 15.74 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.355e-05/0.5047, allocations: 29.36 kB / 482.4 MB, free: 15.74 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001071/0.5049, allocations: 5.125 kB / 482.4 MB, free: 15.74 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002407/0.5051, allocations: 97.39 kB / 482.5 MB, free: 15.66 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001258/0.5052, allocations: 0.6871 MB / 483.2 MB, free: 14.96 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.841e-05/0.5053, allocations: 10.16 kB / 483.2 MB, free: 14.96 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.139e-05/0.5053, allocations: 11.78 kB / 483.2 MB, free: 14.95 MB / 330.7 MB Notification: Performance of SimCode: time 2.2e-07/0.5053, allocations: 0 / 483.2 MB, free: 14.95 MB / 330.7 MB Notification: Performance of Templates: time 0.002453/0.5078, allocations: 0.614 MB / 483.8 MB, free: 14.88 MB / 330.7 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)