Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.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.Test02RegFun3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01037/0.01037, allocations: 174.5 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.705/1.705, allocations: 194.5 MB / 210.3 MB, free: 8.594 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.001673/0.001673, allocations: 120.6 kB / 255.6 MB, free: 11.2 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.2521/0.2521, allocations: 40.01 MB / 340.8 MB, free: 11.53 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004238/0.0004241, allocations: 17.97 kB / 406.1 MB, free: 52.03 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1169, allocations: 54.87 MB / 461 MB, free: 3.434 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1219/0.2389, allocations: 80.5 MB / 0.5288 GB, free: 2.816 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002872/0.2393, allocations: 67.97 kB / 0.5289 GB, free: 2.75 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3702/0.6095, allocations: 8.192 MB / 0.5369 GB, free: 82.92 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.6096, allocations: 1.094 kB / 0.5369 GB, free: 82.92 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.755e-06/0.6096, allocations: 0 / 0.5369 GB, free: 82.92 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003442/0.6099, allocations: 358.5 kB / 0.5372 GB, free: 82.54 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.309e-05/0.61, allocations: 12.78 kB / 0.5373 GB, free: 82.54 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.406e-05/0.6101, allocations: 9.281 kB / 0.5373 GB, free: 82.53 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.411e-05/0.6101, allocations: 163.5 kB / 0.5374 GB, free: 82.33 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.6102, allocations: 1.406 kB / 0.5374 GB, free: 82.33 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.051e-05/0.6102, allocations: 4 kB / 0.5374 GB, free: 82.33 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/0.6103, allocations: 40.33 kB / 0.5375 GB, free: 82.3 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/0.6103, allocations: 0 / 0.5375 GB, free: 82.3 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.6104, allocations: 1.125 kB / 0.5375 GB, free: 82.3 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.6104, allocations: 0 / 0.5375 GB, free: 82.3 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.064e-05/0.6104, allocations: 10.61 kB / 0.5375 GB, free: 82.29 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003738/0.6108, allocations: 243.3 kB / 0.5377 GB, free: 82.03 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.553e-05/0.6109, allocations: 18.38 kB / 0.5377 GB, free: 82 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/0.6109, allocations: 1.469 kB / 0.5377 GB, free: 82 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.6109, allocations: 39.03 kB / 0.5378 GB, free: 81.96 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.713e-06/0.6109, allocations: 0 / 0.5378 GB, free: 81.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001759/0.6111, allocations: 37.41 kB / 0.5378 GB, free: 81.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.643e-05/0.6112, allocations: 57.61 kB / 0.5378 GB, free: 81.86 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.451e-05/0.6112, allocations: 89 kB / 0.5379 GB, free: 81.77 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.6113, allocations: 27.11 kB / 0.538 GB, free: 81.74 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.429e-05/0.6113, allocations: 88.42 kB / 0.538 GB, free: 81.66 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.417e-06/0.6113, allocations: 2.203 kB / 0.538 GB, free: 81.66 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-06/0.6113, allocations: 0 / 0.538 GB, free: 81.66 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.424e-05/0.6114, allocations: 312.9 kB / 0.5383 GB, free: 81.34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.739e-05/0.6114, allocations: 6.188 kB / 0.5384 GB, free: 81.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.571e-05/0.6115, allocations: 26.62 kB / 0.5384 GB, free: 81.31 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.907e-05/0.6115, allocations: 5.078 kB / 0.5384 GB, free: 81.31 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.6115, allocations: 3.938 kB / 0.5384 GB, free: 81.31 MB / 378.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001085/0.6117, allocations: 53.19 kB / 0.5384 GB, free: 81.27 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.6117, allocations: 5.719 kB / 0.5384 GB, free: 81.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/0.6117, allocations: 5.5 kB / 0.5384 GB, free: 81.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.6118, allocations: 2.031 kB / 0.5384 GB, free: 81.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.954e-05/0.6118, allocations: 7.703 kB / 0.5385 GB, free: 81.26 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.6118, allocations: 1.188 kB / 0.5385 GB, free: 81.26 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.719e-05/0.6119, allocations: 5.125 kB / 0.5385 GB, free: 81.26 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.6119, allocations: 3 kB / 0.5385 GB, free: 81.26 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 2 * 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.164e-05/0.612, allocations: 107.1 kB / 0.5386 GB, free: 81.14 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.674e-05/0.612, allocations: 2.281 kB / 0.5386 GB, free: 81.14 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001318/0.6121, allocations: 54.55 kB / 0.5386 GB, free: 81.1 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.6122, allocations: 0 / 0.5386 GB, free: 81.1 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.6122, allocations: 3.953 kB / 0.5386 GB, free: 81.1 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.6122, allocations: 2.094 kB / 0.5386 GB, free: 81.1 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001794/0.6124, allocations: 150.2 kB / 0.5388 GB, free: 80.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/0.6124, allocations: 1.094 kB / 0.5388 GB, free: 80.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.022e-06/0.6124, allocations: 0 / 0.5388 GB, free: 80.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.6124, allocations: 5.672 kB / 0.5388 GB, free: 80.91 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.6124, allocations: 0 / 0.5388 GB, free: 80.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.6124, allocations: 5.875 kB / 0.5388 GB, free: 80.9 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.6125, allocations: 0.6562 kB / 0.5388 GB, free: 80.9 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001161/0.6126, allocations: 137.1 kB / 0.5389 GB, free: 80.77 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.426e-05/0.6126, allocations: 82.95 kB / 0.539 GB, free: 80.67 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.6126, allocations: 0 / 0.539 GB, free: 80.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.498e-05/0.6127, allocations: 2.062 kB / 0.539 GB, free: 80.67 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.406e-05/0.6128, allocations: 2.469 kB / 0.539 GB, free: 80.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.6128, allocations: 9.438 kB / 0.539 GB, free: 80.66 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.537e-05/0.6128, allocations: 76.75 kB / 0.5391 GB, free: 80.59 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6128, allocations: 0 / 0.5391 GB, free: 80.59 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004985/0.6133, allocations: 53.73 kB / 0.5391 GB, free: 80.57 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.0003746/0.6137, allocations: 146.4 kB / 0.5393 GB, free: 80.47 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001123/0.6138, allocations: 38.25 kB / 0.5393 GB, free: 80.43 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.6139, allocations: 288 / 0.5393 GB, free: 80.43 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.596e-05/0.6139, allocations: 39.81 kB / 0.5393 GB, free: 80.39 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001979/0.6141, allocations: 4.516 kB / 0.5393 GB, free: 80.39 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002456/0.6144, allocations: 82.17 kB / 0.5394 GB, free: 80.3 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001257/0.6145, allocations: 0.6761 MB / 0.5401 GB, free: 79.6 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 2.624e-05/0.6146, allocations: 1.094 kB / 0.5401 GB, free: 79.6 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.328e-05/0.6146, allocations: 8.438 kB / 0.5401 GB, free: 79.59 MB / 378.7 MB Notification: Performance of SimCode: time 4.1e-07/0.6146, allocations: 0 / 0.5401 GB, free: 79.59 MB / 378.7 MB Notification: Performance of Templates: time 0.004095/0.6187, allocations: 0.8306 MB / 0.5409 GB, free: 79.53 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test02RegFun3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1)