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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.01/0.01, allocations: 174.1 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.583/1.583, allocations: 194.5 MB / 210.3 MB, free: 7.543 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001792/0.001792, allocations: 120.6 kB / 255.6 MB, free: 10.15 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2/0.2, allocations: 40.02 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004304/0.0004304, allocations: 15.31 kB / 406.1 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1304, allocations: 54.87 MB / 461 MB, free: 3.332 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1241/0.2546, allocations: 79.27 MB / 0.5276 GB, free: 3.949 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002628/0.2549, allocations: 71.95 kB / 0.5277 GB, free: 3.879 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002915/0.2578, allocations: 0.9056 MB / 0.5286 GB, free: 2.965 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.2579, allocations: 0 / 0.5286 GB, free: 2.965 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.337e-06/0.2579, allocations: 0 / 0.5286 GB, free: 2.965 MB / 378.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.0003409/0.2582, allocations: 339.3 kB / 0.5289 GB, free: 2.586 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.253e-05/0.2583, allocations: 12.03 kB / 0.5289 GB, free: 2.574 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.785e-05/0.2583, allocations: 3.953 kB / 0.5289 GB, free: 2.57 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.2585, allocations: 163.1 kB / 0.5291 GB, free: 2.371 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.2585, allocations: 8 kB / 0.5291 GB, free: 2.363 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.429e-05/0.2585, allocations: 8 kB / 0.5291 GB, free: 2.355 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/0.2587, allocations: 53.62 kB / 0.5291 GB, free: 2.297 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.2587, allocations: 0 / 0.5291 GB, free: 2.297 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.2587, allocations: 3.984 kB / 0.5291 GB, free: 2.293 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.2587, allocations: 4.219 kB / 0.5291 GB, free: 2.289 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001049/0.2588, allocations: 59.89 kB / 0.5292 GB, free: 2.23 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002066/0.259, allocations: 173.5 kB / 0.5294 GB, free: 2.012 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001338/0.2592, allocations: 78.58 kB / 0.5294 GB, free: 1.926 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003062/0.2595, allocations: 251.3 kB / 0.5297 GB, free: 1.625 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.2595, allocations: 30.56 kB / 0.5297 GB, free: 1.586 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.343e-06/0.2595, allocations: 0 / 0.5297 GB, free: 1.586 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002505/0.2598, allocations: 105.7 kB / 0.5298 GB, free: 1.477 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.787e-05/0.2598, allocations: 51.41 kB / 0.5299 GB, free: 1.414 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.861e-05/0.2599, allocations: 89 kB / 0.5299 GB, free: 1.32 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.26, allocations: 29.7 kB / 0.53 GB, free: 1.285 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.716e-05/0.26, allocations: 80.14 kB / 0.5301 GB, free: 1.203 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.559e-05/0.2601, allocations: 35.45 kB / 0.5301 GB, free: 1.168 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-06/0.2601, allocations: 4 kB / 0.5301 GB, free: 1.164 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.2602, allocations: 318.8 kB / 0.5304 GB, free: 0.8438 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.368e-05/0.2602, allocations: 15.98 kB / 0.5304 GB, free: 0.8281 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.054e-05/0.2603, allocations: 23.92 kB / 0.5304 GB, free: 0.8047 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.08e-05/0.2603, allocations: 20.12 kB / 0.5305 GB, free: 0.7852 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.2603, allocations: 0 / 0.5305 GB, free: 0.7852 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001201/0.2605, allocations: 81.62 kB / 0.5305 GB, free: 0.6992 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.2605, allocations: 8 kB / 0.5305 GB, free: 0.6914 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.2605, allocations: 0 / 0.5305 GB, free: 0.6914 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.2605, allocations: 0 / 0.5305 GB, free: 0.6914 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.896e-05/0.2606, allocations: 15.98 kB / 0.5306 GB, free: 0.6758 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.2606, allocations: 0 / 0.5306 GB, free: 0.6758 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.724e-05/0.2607, allocations: 7.906 kB / 0.5306 GB, free: 0.668 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/0.2607, allocations: 0.6562 kB / 0.5306 GB, free: 0.668 MB / 378.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.622e-05/0.2608, allocations: 121.8 kB / 0.5307 GB, free: 0.5391 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.035e-05/0.2608, allocations: 0 / 0.5307 GB, free: 0.5391 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001888/0.261, allocations: 97.52 kB / 0.5308 GB, free: 444 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.261, allocations: 4 kB / 0.5308 GB, free: 440 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.261, allocations: 4 kB / 0.5308 GB, free: 436 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.283e-06/0.261, allocations: 3.984 kB / 0.5308 GB, free: 432 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001402/0.2612, allocations: 181.5 kB / 0.531 GB, free: 200 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2612, allocations: 0 / 0.531 GB, free: 200 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.909e-05/0.2613, allocations: 23.92 kB / 0.531 GB, free: 176 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.2613, allocations: 4 kB / 0.531 GB, free: 172 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.2613, allocations: 0 / 0.531 GB, free: 172 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.2613, allocations: 7.938 kB / 0.531 GB, free: 164 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2613, allocations: 0 / 0.531 GB, free: 164 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001494/0.2615, allocations: 105 kB / 0.5311 GB, free: 40 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.2214/0.4828, allocations: 82.3 kB / 0.5312 GB, free: 83.29 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.988e-05/0.4829, allocations: 5.531 kB / 0.5312 GB, free: 83.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.671e-05/0.483, allocations: 1 kB / 0.5312 GB, free: 83.29 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.981e-05/0.483, allocations: 6.812 kB / 0.5312 GB, free: 83.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.4831, allocations: 2.344 kB / 0.5312 GB, free: 83.29 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.55e-05/0.4831, allocations: 80.75 kB / 0.5313 GB, free: 83.21 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.4831, allocations: 0 / 0.5313 GB, free: 83.21 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003094/0.4835, allocations: 20.25 kB / 0.5313 GB, free: 83.21 MB / 378.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 () * 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 (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.0001968/0.4837, allocations: 116.2 kB / 0.5314 GB, free: 83.12 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000202/0.4839, allocations: 49.03 kB / 0.5314 GB, free: 83.12 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.4839, allocations: 1.719 kB / 0.5314 GB, free: 83.12 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.212e-05/0.4839, allocations: 34.95 kB / 0.5315 GB, free: 83.12 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001343/0.4841, allocations: 10.06 kB / 0.5315 GB, free: 83.12 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003519/0.4845, allocations: 141.4 kB / 0.5316 GB, free: 83 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001474/0.4846, allocations: 0.6841 MB / 0.5323 GB, free: 82.31 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.495e-05/0.4847, allocations: 7.984 kB / 0.5323 GB, free: 82.31 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.763e-05/0.4847, allocations: 12.34 kB / 0.5323 GB, free: 82.3 MB / 378.7 MB Notification: Performance of SimCode: time 5.31e-07/0.4847, allocations: 2.906 kB / 0.5323 GB, free: 82.3 MB / 378.7 MB Notification: Performance of Templates: time 0.003131/0.4878, allocations: 0.5984 MB / 0.5329 GB, free: 82.27 MB / 378.7 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)