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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006826/0.006827, allocations: 101.2 kB / 15.73 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001754/0.001755, allocations: 196.9 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.384/1.384, allocations: 205.1 MB / 222.6 MB, free: 4.488 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3013/0.3013, allocations: 37.99 MB / 307.9 MB, free: 10.13 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001743/0.001743, allocations: 67.91 kB / 433 MB, free: 5.418 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3196/0.3214, allocations: 56.46 MB / 489.4 MB, free: 19.86 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.001713/0.3231, allocations: 0.4975 MB / 489.9 MB, free: 19.55 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002016/0.3252, allocations: 1.391 MB / 491.3 MB, free: 18.55 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.596e-05/0.3252, allocations: 3.938 kB / 491.3 MB, free: 18.55 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.378e-05/0.3252, allocations: 0 / 491.3 MB, free: 18.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.83e-05/0.3253, allocations: 1.125 kB / 491.3 MB, free: 18.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007018/0.326, allocations: 222 kB / 491.6 MB, free: 18.47 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.11e-05/0.326, allocations: 10 kB / 491.6 MB, free: 18.46 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.034e-05/0.3261, allocations: 2.953 kB / 491.6 MB, free: 18.46 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.879e-05/0.3261, allocations: 2.828 kB / 491.6 MB, free: 18.46 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.263e-05/0.3262, allocations: 4.25 kB / 491.6 MB, free: 18.46 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.185e-05/0.3262, allocations: 4 kB / 491.6 MB, free: 18.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004868/0.3267, allocations: 279.9 kB / 491.9 MB, free: 18.39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.271e-05/0.3267, allocations: 0 / 491.9 MB, free: 18.39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.522e-05/0.3267, allocations: 10.5 kB / 491.9 MB, free: 18.38 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002688/0.327, allocations: 139 kB / 492 MB, free: 18.35 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.327, allocations: 1.656 kB / 492 MB, free: 18.35 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.327, allocations: 0 / 492 MB, free: 18.35 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.239e-06/0.327, allocations: 0 / 492 MB, free: 18.35 MB / 382.1 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.0003322/0.3274, allocations: 331.6 kB / 492.3 MB, free: 17.99 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.3274, allocations: 17.11 kB / 492.3 MB, free: 17.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.659e-05/0.3275, allocations: 6.734 kB / 492.3 MB, free: 17.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.439e-05/0.3275, allocations: 166.7 kB / 492.5 MB, free: 17.79 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.3275, allocations: 1.938 kB / 492.5 MB, free: 17.79 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.055e-06/0.3276, allocations: 1.312 kB / 492.5 MB, free: 17.79 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001088/0.3277, allocations: 42.14 kB / 492.6 MB, free: 17.75 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.3277, allocations: 0.5 kB / 492.6 MB, free: 17.75 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.3277, allocations: 5.406 kB / 492.6 MB, free: 17.74 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.3277, allocations: 1.125 kB / 492.6 MB, free: 17.74 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.446e-05/0.3278, allocations: 9.516 kB / 492.6 MB, free: 17.74 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002882/0.3281, allocations: 238.5 kB / 492.8 MB, free: 17.47 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.967e-05/0.3281, allocations: 24.67 kB / 492.8 MB, free: 17.44 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.53e-05/0.3281, allocations: 7.703 kB / 492.8 MB, free: 17.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.598e-06/0.3281, allocations: 0 / 492.8 MB, free: 17.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/0.3282, allocations: 36.09 kB / 492.9 MB, free: 17.39 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 8.91e-07/0.3282, allocations: 4 kB / 492.9 MB, free: 17.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001555/0.3283, allocations: 34.16 kB / 492.9 MB, free: 17.35 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.862e-05/0.3284, allocations: 52.02 kB / 493 MB, free: 17.29 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.285e-05/0.3284, allocations: 98.19 kB / 493.1 MB, free: 17.19 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.304e-06/0.3284, allocations: 25.7 kB / 493.1 MB, free: 17.16 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.517e-05/0.3285, allocations: 85.91 kB / 493.2 MB, free: 17.07 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.162e-06/0.3285, allocations: 5.719 kB / 493.2 MB, free: 17.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.728e-05/0.3285, allocations: 21.91 kB / 493.2 MB, free: 17.04 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.263e-05/0.3286, allocations: 320.3 kB / 493.5 MB, free: 16.72 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.218e-05/0.3286, allocations: 2.969 kB / 493.5 MB, free: 16.72 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.623e-05/0.3286, allocations: 18.98 kB / 493.5 MB, free: 16.7 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.003e-05/0.3287, allocations: 32.94 kB / 493.6 MB, free: 16.66 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.3287, allocations: 0 / 493.6 MB, free: 16.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.847e-05/0.3287, allocations: 49.86 kB / 493.6 MB, free: 16.62 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.3288, allocations: 6.391 kB / 493.6 MB, free: 16.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.3288, allocations: 3.984 kB / 493.6 MB, free: 16.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.3288, allocations: 1.094 kB / 493.6 MB, free: 16.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.37e-05/0.3289, allocations: 6.891 kB / 493.6 MB, free: 16.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.014e-06/0.3289, allocations: 5.219 kB / 493.6 MB, free: 16.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.764e-05/0.3289, allocations: 1.844 kB / 493.6 MB, free: 16.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.3289, allocations: 1.281 kB / 493.6 MB, free: 16.62 MB / 382.1 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): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.33e-05/0.329, allocations: 116.6 kB / 493.7 MB, free: 16.5 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.304e-05/0.329, allocations: 1.5 kB / 493.7 MB, free: 16.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001024/0.3291, allocations: 44.14 kB / 493.8 MB, free: 16.45 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.3291, allocations: 0 / 493.8 MB, free: 16.45 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3291, allocations: 0 / 493.8 MB, free: 16.45 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.3291, allocations: 2.203 kB / 493.8 MB, free: 16.45 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001183/0.3292, allocations: 153.8 kB / 493.9 MB, free: 16.26 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.3293, allocations: 6.031 kB / 493.9 MB, free: 16.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.352e-06/0.3293, allocations: 4 kB / 494 MB, free: 16.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3293, allocations: 0 / 494 MB, free: 16.25 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.3293, allocations: 1.25 kB / 494 MB, free: 16.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.3293, allocations: 8.578 kB / 494 MB, free: 16.24 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.3293, allocations: 1.219 kB / 494 MB, free: 16.24 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.079e-05/0.3294, allocations: 136.1 kB / 494.1 MB, free: 16.1 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.781e-05/0.3294, allocations: 82.06 kB / 494.2 MB, free: 16.01 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.04e-05/0.3294, allocations: 1.219 kB / 494.2 MB, free: 16.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.752e-05/0.3295, allocations: 0 / 494.2 MB, free: 16.01 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.09e-05/0.3295, allocations: 2.031 kB / 494.2 MB, free: 16.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.3295, allocations: 5.125 kB / 494.2 MB, free: 16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.941e-05/0.3295, allocations: 78.61 kB / 494.3 MB, free: 15.93 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3295, allocations: 0 / 494.3 MB, free: 15.93 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003017/0.3298, allocations: 39.81 kB / 494.3 MB, free: 15.93 MB / 382.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002414/0.3301, allocations: 148.1 kB / 494.4 MB, free: 15.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.023e-05/0.3302, allocations: 12.7 kB / 494.5 MB, free: 15.81 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3302, allocations: 1.312 kB / 494.5 MB, free: 15.81 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.576e-05/0.3302, allocations: 27.92 kB / 494.5 MB, free: 15.78 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002077/0.3304, allocations: 7.219 kB / 494.5 MB, free: 15.78 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000215/0.3306, allocations: 85.58 kB / 494.6 MB, free: 15.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001186/0.3308, allocations: 0.6811 MB / 495.3 MB, free: 14.98 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.028e-05/0.3308, allocations: 1.625 kB / 495.3 MB, free: 14.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.277e-05/0.3308, allocations: 9.562 kB / 495.3 MB, free: 14.97 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3308, allocations: 0 / 495.3 MB, free: 14.97 MB / 382.1 MB Notification: Performance of Templates: time 0.003458/0.3343, allocations: 1.066 MB / 496.3 MB, free: 14.89 MB / 382.1 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)