Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.Test01RegFun3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01028/0.01028, allocations: 174.4 kB / 15.12 MB, free: 5.582 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.725/1.725, allocations: 194.5 MB / 210.3 MB, free: 8.785 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.001958/0.001957, allocations: 112.7 kB / 255.6 MB, free: 11.39 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.2258/0.2258, allocations: 40.01 MB / 340.8 MB, free: 11.57 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003928/0.0003927, allocations: 10.81 kB / 406.2 MB, free: 52.09 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1055, allocations: 54.87 MB / 461 MB, free: 3.453 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1254/0.2309, allocations: 80.51 MB / 0.5288 GB, free: 2.828 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002636/0.2312, allocations: 67.97 kB / 0.5289 GB, free: 2.762 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2904/0.5217, allocations: 8.199 MB / 0.5369 GB, free: 82.9 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.5217, allocations: 0 / 0.5369 GB, free: 82.9 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.5217, allocations: 1.312 kB / 0.5369 GB, free: 82.9 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003325/0.5221, allocations: 353.7 kB / 0.5372 GB, free: 82.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/0.5221, allocations: 13.98 kB / 0.5373 GB, free: 82.52 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.59e-05/0.5222, allocations: 8.953 kB / 0.5373 GB, free: 82.51 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.875e-05/0.5223, allocations: 160.5 kB / 0.5374 GB, free: 82.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.5223, allocations: 4.656 kB / 0.5374 GB, free: 82.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.648e-06/0.5223, allocations: 1.031 kB / 0.5374 GB, free: 82.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001041/0.5224, allocations: 31.86 kB / 0.5375 GB, free: 82.29 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.5224, allocations: 0 / 0.5375 GB, free: 82.29 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.5224, allocations: 1.281 kB / 0.5375 GB, free: 82.29 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.5225, allocations: 0 / 0.5375 GB, free: 82.29 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.061e-05/0.5225, allocations: 9.234 kB / 0.5375 GB, free: 82.28 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000126/0.5226, allocations: 149.3 kB / 0.5376 GB, free: 82.09 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.179e-05/0.5227, allocations: 21.25 kB / 0.5376 GB, free: 82.07 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.5227, allocations: 1.156 kB / 0.5376 GB, free: 82.07 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.822e-05/0.5227, allocations: 36.56 kB / 0.5377 GB, free: 82.03 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.011e-06/0.5227, allocations: 0 / 0.5377 GB, free: 82.03 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001362/0.5229, allocations: 39.27 kB / 0.5377 GB, free: 81.99 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.373e-05/0.5229, allocations: 51.41 kB / 0.5378 GB, free: 81.93 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.165e-05/0.523, allocations: 88.95 kB / 0.5378 GB, free: 81.84 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.337e-06/0.523, allocations: 25.7 kB / 0.5379 GB, free: 81.81 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.051e-05/0.523, allocations: 85.45 kB / 0.5379 GB, free: 81.73 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.225e-05/0.523, allocations: 4.516 kB / 0.5379 GB, free: 81.72 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-06/0.523, allocations: 0 / 0.5379 GB, free: 81.72 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.428e-05/0.5231, allocations: 316.8 kB / 0.5382 GB, free: 81.41 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.113e-05/0.5231, allocations: 9.375 kB / 0.5383 GB, free: 81.4 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.354e-06/0.5231, allocations: 2.047 kB / 0.5383 GB, free: 81.4 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.731e-05/0.5232, allocations: 1.5 kB / 0.5383 GB, free: 81.4 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.5232, allocations: 5.562 kB / 0.5383 GB, free: 81.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.302e-05/0.5232, allocations: 37.42 kB / 0.5383 GB, free: 81.37 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.5232, allocations: 4.719 kB / 0.5383 GB, free: 81.37 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/0.5233, allocations: 1.891 kB / 0.5383 GB, free: 81.37 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.5233, allocations: 1.188 kB / 0.5383 GB, free: 81.37 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.052e-06/0.5233, allocations: 0 / 0.5383 GB, free: 81.37 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.5233, allocations: 4.75 kB / 0.5383 GB, free: 81.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.823e-05/0.5233, allocations: 1.969 kB / 0.5383 GB, free: 81.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.662e-06/0.5233, allocations: 0 / 0.5383 GB, free: 81.36 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 6.156e-05/0.5234, allocations: 111.8 kB / 0.5384 GB, free: 81.25 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.987e-06/0.5234, allocations: 2.375 kB / 0.5384 GB, free: 81.25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001135/0.5235, allocations: 54.44 kB / 0.5385 GB, free: 81.21 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.5236, allocations: 4.828 kB / 0.5385 GB, free: 81.2 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.5236, allocations: 1.188 kB / 0.5385 GB, free: 81.2 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.5236, allocations: 0 / 0.5385 GB, free: 81.2 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.723e-05/0.5236, allocations: 151.1 kB / 0.5386 GB, free: 81.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.5237, allocations: 1.188 kB / 0.5386 GB, free: 81.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.312e-06/0.5237, allocations: 4.5 kB / 0.5386 GB, free: 81.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.5237, allocations: 0 / 0.5386 GB, free: 81.01 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.5237, allocations: 1.094 kB / 0.5386 GB, free: 81.01 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.5237, allocations: 1.781 kB / 0.5386 GB, free: 81.01 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.5237, allocations: 0 / 0.5386 GB, free: 81.01 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.907e-05/0.5238, allocations: 70.06 kB / 0.5387 GB, free: 80.94 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.816e-05/0.5238, allocations: 83.02 kB / 0.5388 GB, free: 80.84 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.5238, allocations: 0.6562 kB / 0.5388 GB, free: 80.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.738e-05/0.5239, allocations: 2.859 kB / 0.5388 GB, free: 80.84 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.613e-05/0.5239, allocations: 1.922 kB / 0.5388 GB, free: 80.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-06/0.5239, allocations: 1.406 kB / 0.5388 GB, free: 80.84 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.171e-05/0.5239, allocations: 78.59 kB / 0.5389 GB, free: 80.77 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5239, allocations: 4.125 kB / 0.5389 GB, free: 80.76 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002994/0.5242, allocations: 49.69 kB / 0.5389 GB, free: 80.75 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0002683/0.5245, allocations: 145.4 kB / 0.5391 GB, free: 80.65 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 8.537e-05/0.5246, allocations: 36.05 kB / 0.5391 GB, free: 80.61 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.5246, allocations: 3.656 kB / 0.5391 GB, free: 80.61 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.678e-05/0.5246, allocations: 32.36 kB / 0.5391 GB, free: 80.58 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001159/0.5247, allocations: 7.844 kB / 0.5391 GB, free: 80.58 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002304/0.525, allocations: 86.09 kB / 0.5392 GB, free: 80.48 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001261/0.5251, allocations: 0.6761 MB / 0.5399 GB, free: 79.78 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 1.416e-05/0.5251, allocations: 0.6562 kB / 0.5399 GB, free: 79.78 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.049e-05/0.5252, allocations: 8.625 kB / 0.5399 GB, free: 79.77 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.5252, allocations: 0 / 0.5399 GB, free: 79.77 MB / 378.7 MB Notification: Performance of Templates: time 0.003167/0.5283, allocations: 0.8292 MB / 0.5407 GB, free: 79.71 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test01RegFun3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1)