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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007281/0.007281, allocations: 102.5 kB / 15.73 MB, free: 6 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.001737/0.001737, allocations: 194.3 kB / 16.67 MB, free: 5.926 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.352/1.352, allocations: 205.1 MB / 222.5 MB, free: 4.496 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.3261/0.3261, allocations: 38 MB / 307.9 MB, free: 10.03 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.001452/0.001452, allocations: 71.91 kB / 433 MB, free: 5.414 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3058/0.3073, allocations: 56.46 MB / 489.4 MB, free: 19.87 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001793/0.3091, allocations: 0.4929 MB / 489.9 MB, free: 19.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001725/0.3109, allocations: 1.386 MB / 491.3 MB, free: 18.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.471e-05/0.3109, allocations: 1.031 kB / 491.3 MB, free: 18.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.394e-05/0.3109, allocations: 0 / 491.3 MB, free: 18.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.591e-05/0.311, allocations: 3.938 kB / 491.3 MB, free: 18.57 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007382/0.3117, allocations: 223.6 kB / 491.5 MB, free: 18.49 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.549e-05/0.3118, allocations: 18.02 kB / 491.6 MB, free: 18.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.138e-05/0.3119, allocations: 3.016 kB / 491.6 MB, free: 18.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.07e-05/0.3119, allocations: 3.016 kB / 491.6 MB, free: 18.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.478e-05/0.3119, allocations: 2.203 kB / 491.6 MB, free: 18.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.312, allocations: 1 kB / 491.6 MB, free: 18.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005059/0.3125, allocations: 274.5 kB / 491.8 MB, free: 18.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.271e-05/0.3125, allocations: 1.797 kB / 491.8 MB, free: 18.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.675e-05/0.3125, allocations: 5.703 kB / 491.8 MB, free: 18.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002723/0.3128, allocations: 143.6 kB / 492 MB, free: 18.37 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.3128, allocations: 0.5625 kB / 492 MB, free: 18.37 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.005e-06/0.3128, allocations: 1.062 kB / 492 MB, free: 18.37 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.3128, allocations: 0 / 492 MB, free: 18.37 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003655/0.3132, allocations: 335.2 kB / 492.3 MB, free: 18.01 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.3133, allocations: 13.36 kB / 492.3 MB, free: 18.01 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.878e-05/0.3133, allocations: 1.781 kB / 492.3 MB, free: 18.01 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.821e-05/0.3134, allocations: 165.8 kB / 492.5 MB, free: 17.81 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.3134, allocations: 0.8906 kB / 492.5 MB, free: 17.81 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.048e-05/0.3134, allocations: 9.562 kB / 492.5 MB, free: 17.8 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.363e-05/0.3135, allocations: 42.45 kB / 492.5 MB, free: 17.76 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.3136, allocations: 0.6562 kB / 492.5 MB, free: 17.76 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.437e-06/0.3136, allocations: 1.281 kB / 492.5 MB, free: 17.76 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.3136, allocations: 0 / 492.5 MB, free: 17.76 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.445e-05/0.3136, allocations: 2.516 kB / 492.6 MB, free: 17.76 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001183/0.3137, allocations: 149.9 kB / 492.7 MB, free: 17.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.798e-05/0.3138, allocations: 19.48 kB / 492.7 MB, free: 17.55 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.92e-05/0.3138, allocations: 19.58 kB / 492.7 MB, free: 17.53 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.388e-06/0.3138, allocations: 0 / 492.7 MB, free: 17.53 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.3138, allocations: 36.3 kB / 492.8 MB, free: 17.48 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 7.42e-07/0.3139, allocations: 1.125 kB / 492.8 MB, free: 17.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001319/0.314, allocations: 36.7 kB / 492.8 MB, free: 17.45 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.983e-05/0.314, allocations: 52.88 kB / 492.9 MB, free: 17.39 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.811e-05/0.3141, allocations: 102.2 kB / 493 MB, free: 17.28 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.626e-06/0.3141, allocations: 25.7 kB / 493 MB, free: 17.25 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.666e-05/0.3141, allocations: 80.89 kB / 493.1 MB, free: 17.17 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.278e-05/0.3142, allocations: 1.25 kB / 493.1 MB, free: 17.17 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.612e-05/0.3142, allocations: 13.11 kB / 493.1 MB, free: 17.15 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.697e-05/0.3142, allocations: 311.5 kB / 493.4 MB, free: 16.84 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.277e-05/0.3143, allocations: 5.875 kB / 493.4 MB, free: 16.84 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.014e-06/0.3143, allocations: 1.438 kB / 493.4 MB, free: 16.84 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.618e-05/0.3143, allocations: 16.97 kB / 493.4 MB, free: 16.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3143, allocations: 1.062 kB / 493.4 MB, free: 16.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.053e-05/0.3144, allocations: 32.94 kB / 493.4 MB, free: 16.79 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.3144, allocations: 13.98 kB / 493.5 MB, free: 16.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.3144, allocations: 0 / 493.5 MB, free: 16.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.3144, allocations: 1.125 kB / 493.5 MB, free: 16.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.464e-05/0.3145, allocations: 2.984 kB / 493.5 MB, free: 16.78 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.3145, allocations: 0.6094 kB / 493.5 MB, free: 16.78 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.434e-05/0.3145, allocations: 3.984 kB / 493.5 MB, free: 16.78 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.3145, allocations: 1.25 kB / 493.5 MB, free: 16.78 MB / 382.1 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): 1 * 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 4.914e-05/0.3146, allocations: 115.7 kB / 493.6 MB, free: 16.66 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.012e-05/0.3146, allocations: 5.984 kB / 493.6 MB, free: 16.65 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001098/0.3147, allocations: 43.39 kB / 493.6 MB, free: 16.61 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.3147, allocations: 1.188 kB / 493.6 MB, free: 16.61 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3147, allocations: 0.9375 kB / 493.6 MB, free: 16.61 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.3148, allocations: 5.25 kB / 493.6 MB, free: 16.61 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.668e-05/0.3148, allocations: 149 kB / 493.8 MB, free: 16.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.3148, allocations: 2.359 kB / 493.8 MB, free: 16.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.92e-07/0.3148, allocations: 1.156 kB / 493.8 MB, free: 16.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.3148, allocations: 3.938 kB / 493.8 MB, free: 16.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.563e-06/0.3149, allocations: 5.219 kB / 493.8 MB, free: 16.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.3149, allocations: 5.406 kB / 493.8 MB, free: 16.4 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.3149, allocations: 0 / 493.8 MB, free: 16.4 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.778e-05/0.3149, allocations: 62.36 kB / 493.9 MB, free: 16.33 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.809e-05/0.315, allocations: 86.95 kB / 493.9 MB, free: 16.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.315, allocations: 2.438 kB / 493.9 MB, free: 16.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.911e-05/0.315, allocations: 1.188 kB / 493.9 MB, free: 16.23 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.468e-05/0.3151, allocations: 6 kB / 493.9 MB, free: 16.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-06/0.3151, allocations: 1.125 kB / 493.9 MB, free: 16.23 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.935e-05/0.3151, allocations: 78.19 kB / 494 MB, free: 16.15 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3151, allocations: 0 / 494 MB, free: 16.15 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002511/0.3154, allocations: 40.23 kB / 494.1 MB, free: 16.15 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.0002412/0.3156, allocations: 144.3 kB / 494.2 MB, free: 16.04 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.808e-05/0.3157, allocations: 8.938 kB / 494.2 MB, free: 16.04 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.3157, allocations: 0 / 494.2 MB, free: 16.04 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.245e-05/0.3157, allocations: 33.77 kB / 494.2 MB, free: 16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001435/0.3159, allocations: 2.375 kB / 494.2 MB, free: 16 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001834/0.3161, allocations: 86.92 kB / 494.3 MB, free: 15.91 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.746e-05/0.3162, allocations: 0.6766 MB / 495 MB, free: 15.21 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.545e-05/0.3162, allocations: 1.188 kB / 495 MB, free: 15.21 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.122e-05/0.3162, allocations: 8.844 kB / 495 MB, free: 15.2 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3162, allocations: 0 / 495 MB, free: 15.2 MB / 382.1 MB Notification: Performance of Templates: time 0.003704/0.3199, allocations: 1.068 MB / 496.1 MB, free: 15.12 MB / 382.1 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)