Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.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.Test02RegFun3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001225/0.001225, allocations: 171.3 kB / 7.638 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.428/1.428, allocations: 170.7 MB / 178.7 MB, free: 15.65 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.001643/0.001643, allocations: 111.5 kB / 218 MB, free: 8.402 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.2047/0.2047, allocations: 37.98 MB / 295.1 MB, free: 9.492 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.767e-05/1.776e-05, allocations: 1.75 kB / 350 MB, free: 37.01 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1112, allocations: 48.72 MB / 398.7 MB, free: 5.352 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3972/0.5085, allocations: 73.36 MB / 472.1 MB, free: 17.86 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002189/0.5088, allocations: 71.08 kB / 472.2 MB, free: 17.86 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02521/0.534, allocations: 8.164 MB / 480.3 MB, free: 17.11 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.534, allocations: 1.312 kB / 480.3 MB, free: 17.11 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.5341, allocations: 0.75 kB / 480.3 MB, free: 17.11 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003827/0.5344, allocations: 338.9 kB / 480.7 MB, free: 16.75 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/0.5345, allocations: 13.81 kB / 480.7 MB, free: 16.75 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.414e-05/0.5345, allocations: 1.781 kB / 480.7 MB, free: 16.75 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.695e-05/0.5346, allocations: 163 kB / 480.8 MB, free: 16.55 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.5347, allocations: 3.953 kB / 480.8 MB, free: 16.55 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/0.5347, allocations: 3.688 kB / 480.8 MB, free: 16.55 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.747e-05/0.5347, allocations: 3.844 kB / 480.8 MB, free: 16.55 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.497e-05/0.5348, allocations: 37.67 kB / 480.9 MB, free: 16.51 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.5348, allocations: 1.594 kB / 480.9 MB, free: 16.51 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.5349, allocations: 3.094 kB / 480.9 MB, free: 16.51 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.5349, allocations: 0 / 480.9 MB, free: 16.51 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002785/0.5352, allocations: 230.8 kB / 481.1 MB, free: 16.27 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.915e-05/0.5352, allocations: 25.09 kB / 481.1 MB, free: 16.24 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.459e-05/0.5352, allocations: 6.641 kB / 481.1 MB, free: 16.23 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.622e-05/0.5353, allocations: 0 / 481.1 MB, free: 16.23 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/0.5353, allocations: 31.19 kB / 481.2 MB, free: 16.19 MB / 330.7 MB Notification: Performance of pre-optimization done (n=1): time 1.462e-06/0.5353, allocations: 4 kB / 481.2 MB, free: 16.19 MB / 330.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002013/0.5355, allocations: 34.84 kB / 481.2 MB, free: 16.16 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.2e-05/0.5356, allocations: 55.94 kB / 481.3 MB, free: 16.09 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.323e-05/0.5356, allocations: 86.84 kB / 481.3 MB, free: 16 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.778e-06/0.5356, allocations: 26.8 kB / 481.4 MB, free: 15.97 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.249e-05/0.5357, allocations: 86.36 kB / 481.5 MB, free: 15.89 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.883e-06/0.5357, allocations: 3.562 kB / 481.5 MB, free: 15.89 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.985e-06/0.5357, allocations: 3.938 kB / 481.5 MB, free: 15.88 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.56e-05/0.5358, allocations: 319.2 kB / 481.8 MB, free: 15.57 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.167e-06/0.5358, allocations: 0.625 kB / 481.8 MB, free: 15.57 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.202e-05/0.5358, allocations: 21.8 kB / 481.8 MB, free: 15.54 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.947e-05/0.5359, allocations: 11.95 kB / 481.8 MB, free: 15.54 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.5359, allocations: 0.5 kB / 481.8 MB, free: 15.54 MB / 330.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001095/0.536, allocations: 53.69 kB / 481.9 MB, free: 15.49 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.536, allocations: 4.844 kB / 481.9 MB, free: 15.49 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/0.536, allocations: 1.719 kB / 481.9 MB, free: 15.49 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.5361, allocations: 3.828 kB / 481.9 MB, free: 15.49 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.283e-05/0.5361, allocations: 3.25 kB / 481.9 MB, free: 15.49 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.5361, allocations: 1.125 kB / 481.9 MB, free: 15.49 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.214e-05/0.5362, allocations: 1.531 kB / 481.9 MB, free: 15.49 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.5362, allocations: 1.875 kB / 481.9 MB, free: 15.49 MB / 330.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 () * 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 5.767e-05/0.5362, allocations: 106.1 kB / 482 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.723e-05/0.5363, allocations: 5.281 kB / 482 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001341/0.5364, allocations: 43.86 kB / 482 MB, free: 15.35 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.5364, allocations: 4.438 kB / 482 MB, free: 15.34 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.5364, allocations: 4 kB / 482 MB, free: 15.34 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.5365, allocations: 0.5312 kB / 482 MB, free: 15.34 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000108/0.5366, allocations: 126.8 kB / 482.2 MB, free: 15.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-06/0.5366, allocations: 1.062 kB / 482.2 MB, free: 15.18 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.11e-07/0.5366, allocations: 0.5 kB / 482.2 MB, free: 15.18 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.5366, allocations: 11.28 kB / 482.2 MB, free: 15.18 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.5366, allocations: 1.906 kB / 482.2 MB, free: 15.18 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.5366, allocations: 0 / 482.2 MB, free: 15.18 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.5366, allocations: 3.938 kB / 482.2 MB, free: 15.17 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001264/0.5368, allocations: 131.8 kB / 482.3 MB, free: 15.04 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.157e-05/0.5368, allocations: 77.11 kB / 482.4 MB, free: 14.95 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.5368, allocations: 3.953 kB / 482.4 MB, free: 14.95 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.414e-05/0.5369, allocations: 6.531 kB / 482.4 MB, free: 14.94 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.684e-05/0.5369, allocations: 0 / 482.4 MB, free: 14.94 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/0.5369, allocations: 0 / 482.4 MB, free: 14.94 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.85e-05/0.5369, allocations: 80.55 kB / 482.5 MB, free: 14.87 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5369, allocations: 0 / 482.5 MB, free: 14.87 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003592/0.5373, allocations: 50.88 kB / 482.5 MB, free: 14.85 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 (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.0002967/0.5376, allocations: 150.3 kB / 482.7 MB, free: 14.75 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 8.189e-05/0.5377, allocations: 33.98 kB / 482.7 MB, free: 14.71 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.5377, allocations: 4.125 kB / 482.7 MB, free: 14.71 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.309e-05/0.5377, allocations: 28.36 kB / 482.7 MB, free: 14.68 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001301/0.5379, allocations: 3.438 kB / 482.7 MB, free: 14.68 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000181/0.5381, allocations: 54.08 kB / 482.8 MB, free: 14.61 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005812/0.5386, allocations: 0.6739 MB / 483.5 MB, free: 29.92 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.274e-05/0.5387, allocations: 1.5 kB / 483.5 MB, free: 29.92 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.345e-05/0.5387, allocations: 8.938 kB / 483.5 MB, free: 29.91 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5387, allocations: 4.062 kB / 483.5 MB, free: 29.91 MB / 346.7 MB Notification: Performance of Templates: time 0.003457/0.5422, allocations: 0.8377 MB / 484.3 MB, free: 29.82 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test02RegFun3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1)