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.005857/0.005857, allocations: 103.8 kB / 15.73 MB, free: 6.039 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.00171/0.00171, allocations: 192.7 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.491/1.491, allocations: 205.1 MB / 222.5 MB, free: 4.504 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.2828/0.2828, allocations: 38 MB / 307.9 MB, free: 10.11 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.001532/0.001532, allocations: 71.91 kB / 433 MB, free: 5.43 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2524/0.254, allocations: 56.47 MB / 489.4 MB, free: 20.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001358/0.2554, allocations: 0.4966 MB / 489.9 MB, free: 19.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00137/0.2567, allocations: 1.382 MB / 491.3 MB, free: 18.72 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.738e-05/0.2568, allocations: 0 / 491.3 MB, free: 18.72 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.678e-05/0.2568, allocations: 0 / 491.3 MB, free: 18.72 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.34e-05/0.2568, allocations: 5.531 kB / 491.3 MB, free: 18.72 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006484/0.2575, allocations: 221.7 kB / 491.5 MB, free: 18.64 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.116e-05/0.2575, allocations: 6.312 kB / 491.6 MB, free: 18.64 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.714e-05/0.2576, allocations: 5.953 kB / 491.6 MB, free: 18.64 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.655e-05/0.2576, allocations: 4.281 kB / 491.6 MB, free: 18.64 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.289e-05/0.2577, allocations: 10.09 kB / 491.6 MB, free: 18.63 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.106e-05/0.2577, allocations: 1.188 kB / 491.6 MB, free: 18.63 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004246/0.2581, allocations: 275 kB / 491.8 MB, free: 18.56 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.155e-05/0.2581, allocations: 4.969 kB / 491.8 MB, free: 18.56 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.814e-05/0.2582, allocations: 6.438 kB / 491.9 MB, free: 18.55 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002226/0.2584, allocations: 139.6 kB / 492 MB, free: 18.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.2584, allocations: 1.062 kB / 492 MB, free: 18.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2584, allocations: 0 / 492 MB, free: 18.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.997e-06/0.2584, allocations: 4 kB / 492 MB, free: 18.52 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.0002986/0.2587, allocations: 334.3 kB / 492.3 MB, free: 18.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.2588, allocations: 13.66 kB / 492.3 MB, free: 18.15 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.156e-05/0.2588, allocations: 2.656 kB / 492.3 MB, free: 18.15 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.986e-05/0.2589, allocations: 166 kB / 492.5 MB, free: 17.96 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.2589, allocations: 384 / 492.5 MB, free: 17.96 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.324e-06/0.2589, allocations: 1.219 kB / 492.5 MB, free: 17.96 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.999e-05/0.259, allocations: 39.2 kB / 492.5 MB, free: 17.92 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.259, allocations: 4 kB / 492.5 MB, free: 17.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.259, allocations: 1.625 kB / 492.5 MB, free: 17.91 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.216e-06/0.259, allocations: 0 / 492.5 MB, free: 17.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.244e-05/0.259, allocations: 2.75 kB / 492.5 MB, free: 17.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001095/0.2592, allocations: 149.7 kB / 492.7 MB, free: 17.72 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.546e-05/0.2592, allocations: 19.92 kB / 492.7 MB, free: 17.7 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.626e-05/0.2592, allocations: 6.469 kB / 492.7 MB, free: 17.69 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.849e-06/0.2592, allocations: 5.438 kB / 492.7 MB, free: 17.69 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.919e-05/0.2593, allocations: 44.56 kB / 492.8 MB, free: 17.64 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.2593, allocations: 0 / 492.8 MB, free: 17.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001223/0.2594, allocations: 41.7 kB / 492.8 MB, free: 17.6 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.424e-05/0.2594, allocations: 51.92 kB / 492.9 MB, free: 17.54 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.343e-05/0.2595, allocations: 93.98 kB / 493 MB, free: 17.44 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.654e-06/0.2595, allocations: 25.7 kB / 493 MB, free: 17.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.42e-05/0.2595, allocations: 81.73 kB / 493.1 MB, free: 17.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.297e-05/0.2595, allocations: 8.609 kB / 493.1 MB, free: 17.32 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.572e-05/0.2596, allocations: 12.48 kB / 493.1 MB, free: 17.3 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.004e-05/0.2596, allocations: 312.5 kB / 493.4 MB, free: 16.99 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.216e-05/0.2596, allocations: 1.75 kB / 493.4 MB, free: 16.99 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.494e-06/0.2596, allocations: 2.438 kB / 493.4 MB, free: 16.99 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.467e-05/0.2597, allocations: 12.8 kB / 493.4 MB, free: 16.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2597, allocations: 0 / 493.4 MB, free: 16.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.721e-05/0.2597, allocations: 41.7 kB / 493.4 MB, free: 16.94 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.2598, allocations: 9.672 kB / 493.4 MB, free: 16.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.2598, allocations: 0 / 493.4 MB, free: 16.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.2598, allocations: 1.188 kB / 493.5 MB, free: 16.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.111e-05/0.2598, allocations: 2.578 kB / 493.5 MB, free: 16.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.2598, allocations: 0 / 493.5 MB, free: 16.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.306e-05/0.2599, allocations: 1.75 kB / 493.5 MB, free: 16.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.2599, allocations: 3.938 kB / 493.5 MB, free: 16.93 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 3.642e-05/0.2599, allocations: 108.8 kB / 493.6 MB, free: 16.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.266e-06/0.2599, allocations: 7.969 kB / 493.6 MB, free: 16.81 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.701e-05/0.26, allocations: 52.14 kB / 493.6 MB, free: 16.76 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.26, allocations: 1.797 kB / 493.6 MB, free: 16.76 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.26, allocations: 0 / 493.6 MB, free: 16.76 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.2601, allocations: 4 kB / 493.6 MB, free: 16.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.783e-05/0.2601, allocations: 147.2 kB / 493.8 MB, free: 16.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.2601, allocations: 1.828 kB / 493.8 MB, free: 16.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.41e-07/0.2601, allocations: 4.031 kB / 493.8 MB, free: 16.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.2601, allocations: 5 kB / 493.8 MB, free: 16.56 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/0.2601, allocations: 1.641 kB / 493.8 MB, free: 16.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.2601, allocations: 0 / 493.8 MB, free: 16.56 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.2602, allocations: 0 / 493.8 MB, free: 16.56 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.297e-05/0.2602, allocations: 67.48 kB / 493.9 MB, free: 16.48 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.408e-05/0.2602, allocations: 86.62 kB / 493.9 MB, free: 16.38 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.038e-05/0.2602, allocations: 5.859 kB / 493.9 MB, free: 16.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.431e-05/0.2603, allocations: 1.766 kB / 493.9 MB, free: 16.38 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.072e-05/0.2603, allocations: 1.906 kB / 493.9 MB, free: 16.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.2603, allocations: 1.188 kB / 493.9 MB, free: 16.38 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.634e-05/0.2604, allocations: 78.44 kB / 494 MB, free: 16.3 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2604, allocations: 0 / 494 MB, free: 16.3 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002574/0.2606, allocations: 43.81 kB / 494.1 MB, free: 16.3 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.000242/0.2609, allocations: 140.1 kB / 494.2 MB, free: 16.2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 6.853e-05/0.261, allocations: 8.578 kB / 494.2 MB, free: 16.19 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.261, allocations: 1.031 kB / 494.2 MB, free: 16.19 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.566e-05/0.261, allocations: 29.34 kB / 494.2 MB, free: 16.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001347/0.2611, allocations: 11.66 kB / 494.3 MB, free: 16.15 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001615/0.2613, allocations: 81.33 kB / 494.3 MB, free: 16.06 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.877e-05/0.2614, allocations: 0.673 MB / 495 MB, free: 15.37 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.418e-05/0.2614, allocations: 4.125 kB / 495 MB, free: 15.36 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.211e-05/0.2614, allocations: 10.17 kB / 495 MB, free: 15.36 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2614, allocations: 0 / 495 MB, free: 15.36 MB / 382.1 MB Notification: Performance of Templates: time 0.003405/0.2648, allocations: 1.074 MB / 496.1 MB, free: 15.27 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)