Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.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.TestRegFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007304/0.007304, allocations: 100.7 kB / 15.73 MB, free: 6.035 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.001609/0.001609, allocations: 199.3 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.329/1.329, allocations: 205.1 MB / 222.5 MB, free: 4.375 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.2721/0.2721, allocations: 38 MB / 307.9 MB, free: 10.32 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.001432/0.001432, allocations: 71.89 kB / 433 MB, free: 5.383 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2557/0.2571, allocations: 56.46 MB / 489.5 MB, free: 20.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001503/0.2587, allocations: 0.5772 MB / 490.1 MB, free: 19.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003036/0.259, allocations: 117.2 kB / 490.2 MB, free: 19.64 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.537e-05/0.259, allocations: 0 / 490.2 MB, free: 19.64 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.796e-05/0.2591, allocations: 0 / 490.2 MB, free: 19.64 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002422/0.2593, allocations: 51.56 kB / 490.2 MB, free: 19.61 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.298e-06/0.2593, allocations: 7.938 kB / 490.2 MB, free: 19.6 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.304e-05/0.2594, allocations: 16.77 kB / 490.3 MB, free: 19.59 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.233e-05/0.2594, allocations: 3.625 kB / 490.3 MB, free: 19.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.667e-05/0.2594, allocations: 12.61 kB / 490.3 MB, free: 19.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.31e-05/0.2595, allocations: 19.23 kB / 490.3 MB, free: 19.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.04e-05/0.2595, allocations: 3.25 kB / 490.3 MB, free: 19.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001028/0.2596, allocations: 46.52 kB / 490.3 MB, free: 19.56 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.338e-06/0.2596, allocations: 2.109 kB / 490.3 MB, free: 19.56 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.039e-05/0.2597, allocations: 15.52 kB / 490.4 MB, free: 19.55 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.907e-05/0.2598, allocations: 45 kB / 490.4 MB, free: 19.53 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.2598, allocations: 5.844 kB / 490.4 MB, free: 19.53 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2598, allocations: 0 / 490.4 MB, free: 19.53 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.389e-06/0.2598, allocations: 0 / 490.4 MB, free: 19.53 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0002232/0.26, allocations: 334.4 kB / 490.7 MB, free: 19.17 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.2601, allocations: 14.14 kB / 490.7 MB, free: 19.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.06e-05/0.2601, allocations: 7.156 kB / 490.8 MB, free: 19.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.692e-05/0.2602, allocations: 162.2 kB / 490.9 MB, free: 18.96 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.859e-06/0.2602, allocations: 7.25 kB / 490.9 MB, free: 18.96 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.324e-05/0.2602, allocations: 3.25 kB / 490.9 MB, free: 18.96 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001111/0.2603, allocations: 62.91 kB / 491 MB, free: 18.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.585e-06/0.2603, allocations: 1.594 kB / 491 MB, free: 18.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.2604, allocations: 3.938 kB / 491 MB, free: 18.91 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.2604, allocations: 1.562 kB / 491 MB, free: 18.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.618e-05/0.2605, allocations: 54 kB / 491 MB, free: 18.9 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001262/0.2606, allocations: 171.3 kB / 491.2 MB, free: 18.7 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/0.2607, allocations: 77.75 kB / 491.3 MB, free: 18.66 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.835e-05/0.2608, allocations: 38.91 kB / 491.3 MB, free: 18.63 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002628/0.261, allocations: 251.8 kB / 491.6 MB, free: 18.35 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.429e-05/0.2611, allocations: 32.64 kB / 491.6 MB, free: 18.31 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.2611, allocations: 0 / 491.6 MB, free: 18.31 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002072/0.2613, allocations: 112.8 kB / 491.7 MB, free: 18.25 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.136e-05/0.2613, allocations: 53.08 kB / 491.8 MB, free: 18.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.071e-05/0.2614, allocations: 100 kB / 491.9 MB, free: 18.08 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.678e-06/0.2614, allocations: 27.2 kB / 491.9 MB, free: 18.05 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.779e-06/0.2614, allocations: 84.83 kB / 492 MB, free: 17.96 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.283e-05/0.2614, allocations: 33.66 kB / 492 MB, free: 17.93 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.329e-05/0.2615, allocations: 21.78 kB / 492 MB, free: 17.91 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.166e-05/0.2615, allocations: 317.7 kB / 492.3 MB, free: 17.6 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.357e-05/0.2616, allocations: 16.38 kB / 492.4 MB, free: 17.59 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.201e-05/0.2616, allocations: 21.59 kB / 492.4 MB, free: 17.59 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.389e-05/0.2617, allocations: 56.7 kB / 492.4 MB, free: 17.55 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.2617, allocations: 0 / 492.4 MB, free: 17.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001095/0.2618, allocations: 86.81 kB / 492.5 MB, free: 17.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.2618, allocations: 6.219 kB / 492.5 MB, free: 17.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.2618, allocations: 3.938 kB / 492.5 MB, free: 17.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.2618, allocations: 2.953 kB / 492.5 MB, free: 17.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.303e-05/0.2619, allocations: 14.31 kB / 492.5 MB, free: 17.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.262, allocations: 0 / 492.5 MB, free: 17.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.473e-05/0.262, allocations: 7.156 kB / 492.5 MB, free: 17.49 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.262, allocations: 2.375 kB / 492.6 MB, free: 17.49 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 (10): * Single equations (assignments): 10 * 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.507e-05/0.262, allocations: 119.4 kB / 492.7 MB, free: 17.37 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.099e-05/0.2621, allocations: 2.312 kB / 492.7 MB, free: 17.37 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001742/0.2622, allocations: 109.3 kB / 492.8 MB, free: 17.29 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.2623, allocations: 1.094 kB / 492.8 MB, free: 17.29 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.2623, allocations: 1.781 kB / 492.8 MB, free: 17.29 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.2623, allocations: 3.938 kB / 492.8 MB, free: 17.29 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.048e-05/0.2624, allocations: 170 kB / 492.9 MB, free: 17.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.2624, allocations: 0.8438 kB / 492.9 MB, free: 17.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.119e-05/0.2624, allocations: 15.73 kB / 493 MB, free: 17.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.2625, allocations: 4.656 kB / 493 MB, free: 17.08 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.2625, allocations: 4.688 kB / 493 MB, free: 17.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.2625, allocations: 1.531 kB / 493 MB, free: 17.08 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2625, allocations: 0.6562 kB / 493 MB, free: 17.08 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001307/0.2626, allocations: 114 kB / 493.1 MB, free: 16.99 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.869e-05/0.2626, allocations: 84.44 kB / 493.2 MB, free: 16.89 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.2627, allocations: 5.328 kB / 493.2 MB, free: 16.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.348e-05/0.2627, allocations: 4 kB / 493.2 MB, free: 16.88 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.459e-05/0.2627, allocations: 10.09 kB / 493.2 MB, free: 16.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.712e-06/0.2627, allocations: 2.594 kB / 493.2 MB, free: 16.88 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.521e-05/0.2628, allocations: 76.28 kB / 493.3 MB, free: 16.8 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2628, allocations: 3.938 kB / 493.3 MB, free: 16.8 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002053/0.263, allocations: 20.66 kB / 493.3 MB, free: 16.79 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 (10): * Single equations (assignments): 10 * 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 Backend phase and start with SimCode phase: time 9.974e-05/0.2631, allocations: 109.7 kB / 493.4 MB, free: 16.7 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001302/0.2632, allocations: 54.25 kB / 493.5 MB, free: 16.68 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2632, allocations: 5.469 kB / 493.5 MB, free: 16.68 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.094e-05/0.2633, allocations: 38.52 kB / 493.5 MB, free: 16.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001313/0.2634, allocations: 6.312 kB / 493.5 MB, free: 16.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002668/0.2637, allocations: 147.4 kB / 493.6 MB, free: 16.54 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.838e-05/0.2638, allocations: 0.6798 MB / 494.3 MB, free: 15.84 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.238e-05/0.2638, allocations: 5.562 kB / 494.3 MB, free: 15.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.165e-05/0.2639, allocations: 15.69 kB / 494.3 MB, free: 15.83 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2639, allocations: 3.938 kB / 494.3 MB, free: 15.82 MB / 382.1 MB Notification: Performance of Templates: time 0.002475/0.2663, allocations: 0.6521 MB / 495 MB, free: 15.73 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1)