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.007668/0.007669, allocations: 99.78 kB / 15.73 MB, free: 6.043 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.001816/0.001816, allocations: 185.4 kB / 16.67 MB, free: 5.977 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.351/1.351, allocations: 205.1 MB / 222.5 MB, free: 4.551 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.2815/0.2815, allocations: 38 MB / 307.9 MB, free: 9.953 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.001511/0.001511, allocations: 75.88 kB / 433 MB, free: 5.395 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2633/0.2649, allocations: 56.46 MB / 489.5 MB, free: 19.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001533/0.2664, allocations: 0.5682 MB / 490.1 MB, free: 19.63 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003156/0.2668, allocations: 126.2 kB / 490.2 MB, free: 19.54 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.308e-05/0.2668, allocations: 3.281 kB / 490.2 MB, free: 19.54 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.29e-05/0.2668, allocations: 3.938 kB / 490.2 MB, free: 19.54 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002322/0.2671, allocations: 41.17 kB / 490.2 MB, free: 19.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.878e-06/0.2671, allocations: 0 / 490.2 MB, free: 19.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.846e-05/0.2672, allocations: 21.34 kB / 490.3 MB, free: 19.51 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.361e-05/0.2672, allocations: 3.578 kB / 490.3 MB, free: 19.51 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.969e-05/0.2672, allocations: 12.2 kB / 490.3 MB, free: 19.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.464e-05/0.2673, allocations: 14.45 kB / 490.3 MB, free: 19.5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.068e-05/0.2673, allocations: 0 / 490.3 MB, free: 19.5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.2674, allocations: 52.5 kB / 490.3 MB, free: 19.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.148e-05/0.2674, allocations: 16.7 kB / 490.4 MB, free: 19.47 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.662e-05/0.2675, allocations: 9.438 kB / 490.4 MB, free: 19.46 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001063/0.2676, allocations: 41.45 kB / 490.4 MB, free: 19.45 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2676, allocations: 0 / 490.4 MB, free: 19.45 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2676, allocations: 0 / 490.4 MB, free: 19.45 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.2676, allocations: 3 kB / 490.4 MB, free: 19.45 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.0002692/0.2679, allocations: 337 kB / 490.7 MB, free: 19.08 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.2679, allocations: 12.73 kB / 490.7 MB, free: 19.08 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.865e-05/0.268, allocations: 8.5 kB / 490.8 MB, free: 19.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.25e-05/0.268, allocations: 173.5 kB / 490.9 MB, free: 18.87 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.2681, allocations: 3.625 kB / 490.9 MB, free: 18.87 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.18e-05/0.2681, allocations: 7.219 kB / 490.9 MB, free: 18.86 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.2682, allocations: 56.59 kB / 491 MB, free: 18.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.2682, allocations: 192 / 491 MB, free: 18.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.2682, allocations: 4.594 kB / 491 MB, free: 18.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.2683, allocations: 0 / 491 MB, free: 18.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001209/0.2684, allocations: 54.19 kB / 491 MB, free: 18.81 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001487/0.2685, allocations: 176.6 kB / 491.2 MB, free: 18.61 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001377/0.2687, allocations: 76.47 kB / 491.3 MB, free: 18.56 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.404e-05/0.2687, allocations: 34.56 kB / 491.3 MB, free: 18.54 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002918/0.269, allocations: 252.3 kB / 491.6 MB, free: 18.26 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.2691, allocations: 37.31 kB / 491.6 MB, free: 18.22 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.333e-06/0.2691, allocations: 3.938 kB / 491.6 MB, free: 18.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002269/0.2693, allocations: 112.2 kB / 491.7 MB, free: 18.15 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.805e-05/0.2693, allocations: 53.42 kB / 491.8 MB, free: 18.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.591e-05/0.2694, allocations: 96.05 kB / 491.9 MB, free: 17.98 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.107e-06/0.2694, allocations: 25.7 kB / 491.9 MB, free: 17.95 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.505e-05/0.2694, allocations: 86.31 kB / 492 MB, free: 17.87 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.656e-05/0.2695, allocations: 30.08 kB / 492 MB, free: 17.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.5e-05/0.2695, allocations: 21.11 kB / 492 MB, free: 17.82 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.559e-05/0.2696, allocations: 317.5 kB / 492.3 MB, free: 17.51 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.864e-05/0.2696, allocations: 21.33 kB / 492.4 MB, free: 17.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.228e-05/0.2696, allocations: 16.45 kB / 492.4 MB, free: 17.5 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.043e-05/0.2697, allocations: 48.66 kB / 492.4 MB, free: 17.47 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2697, allocations: 0 / 492.4 MB, free: 17.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001162/0.2699, allocations: 88.41 kB / 492.5 MB, free: 17.42 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.2699, allocations: 5.562 kB / 492.5 MB, free: 17.42 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.2699, allocations: 4.031 kB / 492.5 MB, free: 17.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.2699, allocations: 5.469 kB / 492.5 MB, free: 17.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.27, allocations: 18.62 kB / 492.5 MB, free: 17.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.27, allocations: 4.516 kB / 492.5 MB, free: 17.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.498e-05/0.2701, allocations: 9.938 kB / 492.6 MB, free: 17.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/0.2701, allocations: 3.391 kB / 492.6 MB, free: 17.39 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 5.059e-05/0.2701, allocations: 111.9 kB / 492.7 MB, free: 17.28 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.137e-05/0.2701, allocations: 2.719 kB / 492.7 MB, free: 17.28 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001892/0.2703, allocations: 105.6 kB / 492.8 MB, free: 17.2 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.2703, allocations: 1.125 kB / 492.8 MB, free: 17.2 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.2704, allocations: 0 / 492.8 MB, free: 17.2 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.2704, allocations: 5.125 kB / 492.8 MB, free: 17.2 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.212e-05/0.2705, allocations: 173.7 kB / 493 MB, free: 17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2705, allocations: 0.9688 kB / 493 MB, free: 17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.723e-05/0.2705, allocations: 19.73 kB / 493 MB, free: 16.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.2706, allocations: 1.188 kB / 493 MB, free: 16.99 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.886e-06/0.2706, allocations: 3.938 kB / 493 MB, free: 16.99 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.2706, allocations: 1.031 kB / 493 MB, free: 16.99 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.2706, allocations: 1.078 kB / 493 MB, free: 16.99 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001333/0.2707, allocations: 114.2 kB / 493.1 MB, free: 16.9 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.305e-05/0.2707, allocations: 83.52 kB / 493.2 MB, free: 16.8 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/0.2708, allocations: 9.484 kB / 493.2 MB, free: 16.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.323e-05/0.2708, allocations: 0.8125 kB / 493.2 MB, free: 16.79 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.209e-05/0.2708, allocations: 9.891 kB / 493.2 MB, free: 16.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.872e-06/0.2708, allocations: 6.25 kB / 493.2 MB, free: 16.79 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.914e-05/0.2709, allocations: 76.94 kB / 493.3 MB, free: 16.71 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2709, allocations: 0 / 493.3 MB, free: 16.71 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002103/0.2711, allocations: 16.94 kB / 493.3 MB, free: 16.71 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 0.0001202/0.2712, allocations: 115.5 kB / 493.4 MB, free: 16.61 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001431/0.2714, allocations: 59.72 kB / 493.5 MB, free: 16.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2714, allocations: 0.7812 kB / 493.5 MB, free: 16.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.682e-05/0.2714, allocations: 35.11 kB / 493.5 MB, free: 16.57 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001319/0.2716, allocations: 1.188 kB / 493.5 MB, free: 16.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002984/0.2719, allocations: 147.2 kB / 493.6 MB, free: 16.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.586e-05/0.272, allocations: 0.6842 MB / 494.3 MB, free: 15.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.41e-05/0.272, allocations: 6.859 kB / 494.3 MB, free: 15.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.169e-05/0.272, allocations: 10.72 kB / 494.3 MB, free: 15.74 MB / 382.1 MB Notification: Performance of SimCode: time 2.61e-07/0.272, allocations: 0 / 494.3 MB, free: 15.74 MB / 382.1 MB Notification: Performance of Templates: time 0.00272/0.2748, allocations: 0.667 MB / 495 MB, free: 15.64 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)