Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.Test01RegFun3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01053/0.01053, allocations: 162.6 kB / 15.11 MB, free: 5.969 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.37/1.37, allocations: 170.8 MB / 186.6 MB, free: 1.137 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.001678/0.001678, allocations: 103.3 kB / 226.2 MB, free: 10.1 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.3526/0.3526, allocations: 38.04 MB / 303.7 MB, free: 42.36 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003932/0.0003933, allocations: 12 kB / 362.9 MB, free: 5.598 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09325/0.09366, allocations: 48.71 MB / 411.6 MB, free: 4.812 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.306/0.3998, allocations: 74.12 MB / 485.7 MB, free: 13.62 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000166/0.4, allocations: 69.53 kB / 485.8 MB, free: 13.58 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02187/0.4219, allocations: 8.21 MB / 494 MB, free: 6.52 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.4219, allocations: 0 / 494 MB, free: 6.52 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.4219, allocations: 0 / 494 MB, free: 6.52 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002665/0.4222, allocations: 347.2 kB / 494.3 MB, free: 6.137 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.4222, allocations: 8.031 kB / 494.3 MB, free: 6.129 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.374e-05/0.4223, allocations: 4.625 kB / 494.3 MB, free: 6.125 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.043e-05/0.4224, allocations: 168.4 kB / 494.5 MB, free: 5.926 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.4224, allocations: 0 / 494.5 MB, free: 5.926 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/0.4224, allocations: 0 / 494.5 MB, free: 5.926 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.725e-05/0.4225, allocations: 33.7 kB / 494.5 MB, free: 5.887 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.4225, allocations: 0 / 494.5 MB, free: 5.887 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.417e-06/0.4225, allocations: 0 / 494.5 MB, free: 5.887 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.4225, allocations: 0 / 494.5 MB, free: 5.887 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.696e-05/0.4226, allocations: 4 kB / 494.5 MB, free: 5.883 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001094/0.4227, allocations: 154.6 kB / 494.7 MB, free: 5.688 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.348e-05/0.4227, allocations: 26.5 kB / 494.7 MB, free: 5.652 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.276e-05/0.4227, allocations: 4 kB / 494.7 MB, free: 5.648 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.74e-05/0.4228, allocations: 30.56 kB / 494.7 MB, free: 5.609 MB / 330.7 MB Notification: Performance of pre-optimization done (n=1): time 1.743e-06/0.4228, allocations: 3.984 kB / 494.7 MB, free: 5.605 MB / 330.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001232/0.4229, allocations: 41.69 kB / 494.8 MB, free: 5.562 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.644e-05/0.4229, allocations: 55.34 kB / 494.8 MB, free: 5.496 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.601e-05/0.423, allocations: 89 kB / 494.9 MB, free: 5.402 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.067e-06/0.423, allocations: 25.7 kB / 494.9 MB, free: 5.371 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.882e-05/0.423, allocations: 84.39 kB / 495 MB, free: 5.285 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.047e-05/0.4231, allocations: 3.906 kB / 495 MB, free: 5.281 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.555e-06/0.4231, allocations: 0 / 495 MB, free: 5.281 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.865e-05/0.4231, allocations: 318.7 kB / 495.3 MB, free: 4.965 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.899e-06/0.4231, allocations: 0 / 495.3 MB, free: 4.965 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.631e-06/0.4231, allocations: 0 / 495.3 MB, free: 4.965 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.512e-05/0.4232, allocations: 4 kB / 495.3 MB, free: 4.961 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.4232, allocations: 0 / 495.3 MB, free: 4.961 MB / 330.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.773e-05/0.4232, allocations: 45.7 kB / 495.4 MB, free: 4.91 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.4232, allocations: 4 kB / 495.4 MB, free: 4.906 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.4233, allocations: 0 / 495.4 MB, free: 4.906 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.4233, allocations: 0 / 495.4 MB, free: 4.906 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.673e-06/0.4233, allocations: 0 / 495.4 MB, free: 4.906 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.4233, allocations: 7.938 kB / 495.4 MB, free: 4.898 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.653e-05/0.4233, allocations: 0 / 495.4 MB, free: 4.898 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.4233, allocations: 3.938 kB / 495.4 MB, free: 4.895 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 () * 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 4.934e-05/0.4234, allocations: 114.1 kB / 495.5 MB, free: 4.781 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.296e-06/0.4234, allocations: 7.953 kB / 495.5 MB, free: 4.773 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.752e-05/0.4235, allocations: 44.84 kB / 495.6 MB, free: 4.723 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.4235, allocations: 0 / 495.6 MB, free: 4.723 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.4235, allocations: 0 / 495.6 MB, free: 4.723 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.4235, allocations: 0 / 495.6 MB, free: 4.723 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.315e-05/0.4236, allocations: 149.4 kB / 495.7 MB, free: 4.531 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.4236, allocations: 8 kB / 495.7 MB, free: 4.523 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.4236, allocations: 0 / 495.7 MB, free: 4.523 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.4236, allocations: 0 / 495.7 MB, free: 4.523 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.4236, allocations: 7.984 kB / 495.7 MB, free: 4.516 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.4236, allocations: 0 / 495.7 MB, free: 4.516 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.4236, allocations: 0 / 495.7 MB, free: 4.516 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.9e-05/0.4237, allocations: 64.81 kB / 495.8 MB, free: 4.438 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.963e-05/0.4237, allocations: 81.11 kB / 495.9 MB, free: 4.34 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.009e-05/0.4237, allocations: 0 / 495.9 MB, free: 4.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.525e-05/0.4238, allocations: 3.953 kB / 495.9 MB, free: 4.336 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.335e-05/0.4238, allocations: 12.02 kB / 495.9 MB, free: 4.324 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-06/0.4238, allocations: 0 / 495.9 MB, free: 4.324 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.709e-05/0.4238, allocations: 75.28 kB / 496 MB, free: 4.25 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4238, allocations: 0 / 496 MB, free: 4.25 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002542/0.4241, allocations: 47.94 kB / 496 MB, free: 4.203 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 () * 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.0002354/0.4243, allocations: 151 kB / 496.2 MB, free: 4.051 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 7.833e-05/0.4244, allocations: 33.64 kB / 496.2 MB, free: 4.012 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.4244, allocations: 4.156 kB / 496.2 MB, free: 4.008 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.436e-05/0.4245, allocations: 29.7 kB / 496.2 MB, free: 3.973 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.906e-05/0.4246, allocations: 4 kB / 496.2 MB, free: 3.969 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002167/0.4248, allocations: 91.56 kB / 496.3 MB, free: 3.859 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001117/0.4249, allocations: 0.677 MB / 497 MB, free: 3.156 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.229e-05/0.4249, allocations: 0 / 497 MB, free: 3.156 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.757e-06/0.4249, allocations: 7.438 kB / 497 MB, free: 3.148 MB / 330.7 MB Notification: Performance of SimCode: time 2.4e-07/0.425, allocations: 0 / 497 MB, free: 3.148 MB / 330.7 MB Notification: Performance of Templates: time 0.002511/0.4275, allocations: 0.8356 MB / 497.8 MB, free: 2.328 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test01RegFun3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1)