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.009002/0.009002, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001934/0.001934, allocations: 188.6 kB / 16.67 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.385/1.385, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.2929/0.2929, allocations: 38 MB / 307.9 MB, free: 10.09 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.001547/0.001547, allocations: 71.84 kB / 433 MB, free: 5.422 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3148, allocations: 56.46 MB / 489.4 MB, free: 20.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.001565/0.3164, allocations: 0.494 MB / 489.9 MB, free: 19.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00167/0.3181, allocations: 1.391 MB / 491.3 MB, free: 18.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.737e-05/0.3182, allocations: 5 kB / 491.3 MB, free: 18.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.475e-05/0.3182, allocations: 0 / 491.3 MB, free: 18.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.349e-05/0.3182, allocations: 0 / 491.3 MB, free: 18.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007869/0.319, allocations: 218.3 kB / 491.5 MB, free: 18.7 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.02e-05/0.3191, allocations: 11.36 kB / 491.6 MB, free: 18.69 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.686e-05/0.3191, allocations: 2.406 kB / 491.6 MB, free: 18.69 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.17e-05/0.3192, allocations: 2.031 kB / 491.6 MB, free: 18.69 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.356e-05/0.3192, allocations: 4.109 kB / 491.6 MB, free: 18.69 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.218e-05/0.3192, allocations: 0 / 491.6 MB, free: 18.69 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005514/0.3198, allocations: 282.7 kB / 491.8 MB, free: 18.62 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.466e-05/0.3198, allocations: 1.328 kB / 491.8 MB, free: 18.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.306e-05/0.3199, allocations: 6.359 kB / 491.8 MB, free: 18.61 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002953/0.3202, allocations: 139.8 kB / 492 MB, free: 18.58 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.3202, allocations: 4.656 kB / 492 MB, free: 18.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3202, allocations: 0 / 492 MB, free: 18.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.018e-05/0.3202, allocations: 0 / 492 MB, free: 18.57 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.0003314/0.3205, allocations: 331.5 kB / 492.3 MB, free: 18.22 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.3206, allocations: 13.11 kB / 492.3 MB, free: 18.21 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.593e-05/0.3206, allocations: 2.031 kB / 492.3 MB, free: 18.21 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.482e-05/0.3207, allocations: 172.5 kB / 492.5 MB, free: 18.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.3207, allocations: 4.375 kB / 492.5 MB, free: 18.01 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.127e-05/0.3207, allocations: 2.531 kB / 492.5 MB, free: 18.01 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/0.3209, allocations: 46.78 kB / 492.5 MB, free: 17.97 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.3209, allocations: 0 / 492.5 MB, free: 17.97 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.3209, allocations: 4 kB / 492.5 MB, free: 17.96 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.3209, allocations: 1.031 kB / 492.6 MB, free: 17.96 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.746e-05/0.321, allocations: 10 kB / 492.6 MB, free: 17.96 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003271/0.3213, allocations: 243.6 kB / 492.8 MB, free: 17.69 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.84e-05/0.3213, allocations: 24.38 kB / 492.8 MB, free: 17.66 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.52e-05/0.3214, allocations: 10.52 kB / 492.8 MB, free: 17.64 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.032e-05/0.3214, allocations: 1.344 kB / 492.8 MB, free: 17.64 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/0.3214, allocations: 31.27 kB / 492.9 MB, free: 17.61 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.513e-06/0.3214, allocations: 1.031 kB / 492.9 MB, free: 17.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001383/0.3216, allocations: 33.2 kB / 492.9 MB, free: 17.57 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.6e-05/0.3216, allocations: 55.92 kB / 493 MB, free: 17.51 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.322e-05/0.3216, allocations: 99.27 kB / 493 MB, free: 17.41 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.266e-06/0.3217, allocations: 25.7 kB / 493.1 MB, free: 17.38 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.906e-05/0.3217, allocations: 86.42 kB / 493.2 MB, free: 17.29 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.61e-06/0.3217, allocations: 3.906 kB / 493.2 MB, free: 17.29 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.138e-05/0.3217, allocations: 17.88 kB / 493.2 MB, free: 17.27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.217e-05/0.3218, allocations: 316.6 kB / 493.5 MB, free: 16.95 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.351e-05/0.3218, allocations: 10.89 kB / 493.5 MB, free: 16.94 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.104e-05/0.3218, allocations: 19.33 kB / 493.5 MB, free: 16.92 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.152e-05/0.3219, allocations: 24.95 kB / 493.5 MB, free: 16.89 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.3219, allocations: 1.188 kB / 493.5 MB, free: 16.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.459e-05/0.322, allocations: 52.31 kB / 493.6 MB, free: 16.85 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.322, allocations: 6.484 kB / 493.6 MB, free: 16.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.322, allocations: 1.312 kB / 493.6 MB, free: 16.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.322, allocations: 3.938 kB / 493.6 MB, free: 16.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.345e-05/0.3221, allocations: 6.516 kB / 493.6 MB, free: 16.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.3221, allocations: 5.172 kB / 493.6 MB, free: 16.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.759e-05/0.3221, allocations: 5.062 kB / 493.6 MB, free: 16.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.3221, allocations: 2.766 kB / 493.6 MB, free: 16.84 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.011e-05/0.3222, allocations: 117.1 kB / 493.7 MB, free: 16.71 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.332e-05/0.3222, allocations: 1.062 kB / 493.7 MB, free: 16.71 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001018/0.3223, allocations: 43.47 kB / 493.8 MB, free: 16.67 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.3223, allocations: 4.594 kB / 493.8 MB, free: 16.67 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.3223, allocations: 0 / 493.8 MB, free: 16.67 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.3223, allocations: 1.125 kB / 493.8 MB, free: 16.67 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001026/0.3224, allocations: 150.8 kB / 493.9 MB, free: 16.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.3225, allocations: 1.188 kB / 493.9 MB, free: 16.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.3225, allocations: 4.031 kB / 493.9 MB, free: 16.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.3225, allocations: 0.8438 kB / 493.9 MB, free: 16.47 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.3225, allocations: 1.125 kB / 493.9 MB, free: 16.47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.3225, allocations: 5.219 kB / 493.9 MB, free: 16.47 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3225, allocations: 0 / 493.9 MB, free: 16.47 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.794e-05/0.3226, allocations: 141.6 kB / 494.1 MB, free: 16.32 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.736e-05/0.3226, allocations: 80.02 kB / 494.2 MB, free: 16.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.052e-05/0.3226, allocations: 1.641 kB / 494.2 MB, free: 16.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.684e-05/0.3227, allocations: 9.016 kB / 494.2 MB, free: 16.22 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.546e-05/0.3227, allocations: 1.719 kB / 494.2 MB, free: 16.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.3227, allocations: 1.219 kB / 494.2 MB, free: 16.22 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.002e-05/0.3227, allocations: 82.28 kB / 494.3 MB, free: 16.14 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3227, allocations: 0 / 494.3 MB, free: 16.14 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002978/0.323, allocations: 40.31 kB / 494.3 MB, free: 16.14 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.0002421/0.3233, allocations: 143 kB / 494.4 MB, free: 16.04 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.346e-05/0.3234, allocations: 17.38 kB / 494.5 MB, free: 16.03 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3234, allocations: 1.031 kB / 494.5 MB, free: 16.03 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.56e-05/0.3234, allocations: 28.2 kB / 494.5 MB, free: 16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002284/0.3236, allocations: 8 kB / 494.5 MB, free: 15.99 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002618/0.3239, allocations: 89.95 kB / 494.6 MB, free: 15.89 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001694/0.3241, allocations: 0.6723 MB / 495.3 MB, free: 15.2 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.627e-05/0.3241, allocations: 5.469 kB / 495.3 MB, free: 15.2 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.867e-05/0.3242, allocations: 10.89 kB / 495.3 MB, free: 15.19 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3242, allocations: 0 / 495.3 MB, free: 15.19 MB / 382.1 MB Notification: Performance of Templates: time 0.004471/0.3286, allocations: 1.059 MB / 496.3 MB, free: 15.11 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)