Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegStep.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.TestRegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegStep") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005446/0.005446, allocations: 102.8 kB / 15.74 MB, free: 6.496 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.001168/0.001168, allocations: 194 kB / 16.68 MB, free: 6.375 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.34/1.34, allocations: 205.1 MB / 222.6 MB, free: 4.559 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.3228/0.3228, allocations: 38 MB / 307.9 MB, free: 9.965 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.001604/0.001604, allocations: 67.91 kB / 433 MB, free: 5.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2943/0.2959, allocations: 56.47 MB / 489.5 MB, free: 19.88 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001639/0.2976, allocations: 0.5357 MB / 490 MB, free: 19.56 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002821/0.2979, allocations: 70.81 kB / 490.1 MB, free: 19.51 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.03e-05/0.298, allocations: 3.938 kB / 490.1 MB, free: 19.51 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.521e-05/0.298, allocations: 0 / 490.1 MB, free: 19.51 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000237/0.2982, allocations: 14.97 kB / 490.1 MB, free: 19.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.75e-05/0.2982, allocations: 3.031 kB / 490.1 MB, free: 19.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.295e-05/0.2983, allocations: 4.453 kB / 490.1 MB, free: 19.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.096e-05/0.2984, allocations: 0.6094 kB / 490.1 MB, free: 19.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.254e-05/0.2984, allocations: 10.94 kB / 490.1 MB, free: 19.49 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.315e-05/0.2984, allocations: 9.188 kB / 490.1 MB, free: 19.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.153e-05/0.2985, allocations: 4 kB / 490.1 MB, free: 19.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.545e-05/0.2986, allocations: 21.89 kB / 490.2 MB, free: 19.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.146e-05/0.2986, allocations: 0 / 490.2 MB, free: 19.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.715e-05/0.2986, allocations: 7.516 kB / 490.2 MB, free: 19.47 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.92e-05/0.2987, allocations: 19.05 kB / 490.2 MB, free: 19.47 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.299e-06/0.2987, allocations: 0 / 490.2 MB, free: 19.47 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2987, allocations: 0 / 490.2 MB, free: 19.47 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.2987, allocations: 0 / 490.2 MB, free: 19.47 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.0002737/0.299, allocations: 319.8 kB / 490.5 MB, free: 19.12 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.2991, allocations: 12.83 kB / 490.5 MB, free: 19.11 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.945e-05/0.2991, allocations: 9.547 kB / 490.5 MB, free: 19.11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.558e-05/0.2992, allocations: 168.1 kB / 490.7 MB, free: 18.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.2992, allocations: 1.172 kB / 490.7 MB, free: 18.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.731e-05/0.2993, allocations: 384 / 490.7 MB, free: 18.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.755e-05/0.2993, allocations: 34.94 kB / 490.7 MB, free: 18.88 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.2994, allocations: 192 / 490.7 MB, free: 18.88 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.2994, allocations: 7.875 kB / 490.7 MB, free: 18.87 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.2994, allocations: 4 kB / 490.7 MB, free: 18.86 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.675e-05/0.2994, allocations: 12.44 kB / 490.8 MB, free: 18.86 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000137/0.2996, allocations: 158.5 kB / 490.9 MB, free: 18.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001645/0.2997, allocations: 30.64 kB / 490.9 MB, free: 18.64 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.492e-05/0.2998, allocations: 14.86 kB / 491 MB, free: 18.62 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003217/0.3001, allocations: 112.9 kB / 491.1 MB, free: 18.53 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.419e-05/0.3001, allocations: 39.02 kB / 491.1 MB, free: 18.48 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.3001, allocations: 0 / 491.1 MB, free: 18.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.001226/0.3014, allocations: 184 kB / 491.3 MB, free: 18.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.453e-05/0.3014, allocations: 55.91 kB / 491.3 MB, free: 18.36 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.166e-05/0.3015, allocations: 96.95 kB / 491.4 MB, free: 18.26 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.445e-06/0.3015, allocations: 25.7 kB / 491.5 MB, free: 18.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.273e-05/0.3015, allocations: 80.75 kB / 491.5 MB, free: 18.15 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.689e-05/0.3015, allocations: 19.28 kB / 491.6 MB, free: 18.13 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.541e-05/0.3016, allocations: 20.28 kB / 491.6 MB, free: 18.11 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.471e-05/0.3016, allocations: 313.3 kB / 491.9 MB, free: 17.8 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.265e-05/0.3017, allocations: 19.22 kB / 491.9 MB, free: 17.8 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.259e-05/0.3018, allocations: 27.98 kB / 491.9 MB, free: 17.79 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.3019, allocations: 44.17 kB / 492 MB, free: 17.77 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.3019, allocations: 0 / 492 MB, free: 17.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001853/0.3021, allocations: 74.84 kB / 492 MB, free: 17.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.3021, allocations: 12.81 kB / 492.1 MB, free: 17.72 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.3022, allocations: 1.406 kB / 492.1 MB, free: 17.72 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.3022, allocations: 4 kB / 492.1 MB, free: 17.72 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.3023, allocations: 13.91 kB / 492.1 MB, free: 17.72 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.3023, allocations: 1.25 kB / 492.1 MB, free: 17.72 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.213e-05/0.3024, allocations: 10.66 kB / 492.1 MB, free: 17.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.3024, allocations: 1.469 kB / 492.1 MB, free: 17.71 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 (5): * Single equations (assignments): 5 * 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.791e-05/0.3025, allocations: 111.9 kB / 492.2 MB, free: 17.6 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.301e-05/0.3025, allocations: 9.875 kB / 492.2 MB, free: 17.59 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002511/0.3027, allocations: 89.89 kB / 492.3 MB, free: 17.54 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.3028, allocations: 9.719 kB / 492.3 MB, free: 17.53 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.3028, allocations: 0 / 492.3 MB, free: 17.53 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.257e-06/0.3028, allocations: 0 / 492.3 MB, free: 17.53 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006256/0.3034, allocations: 351.9 kB / 492.6 MB, free: 17.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3034, allocations: 4.594 kB / 492.7 MB, free: 17.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001041/0.3035, allocations: 18.89 kB / 492.7 MB, free: 17.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.3035, allocations: 5.094 kB / 492.7 MB, free: 17.2 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.3035, allocations: 1.656 kB / 492.7 MB, free: 17.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.3036, allocations: 0.6562 kB / 492.7 MB, free: 17.2 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3036, allocations: 1.781 kB / 492.7 MB, free: 17.2 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002134/0.3038, allocations: 181.7 kB / 492.9 MB, free: 17.04 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.895e-05/0.3038, allocations: 83.12 kB / 492.9 MB, free: 16.94 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.3038, allocations: 1.734 kB / 492.9 MB, free: 16.94 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.79e-05/0.3039, allocations: 5.984 kB / 492.9 MB, free: 16.94 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.906e-05/0.304, allocations: 6.547 kB / 493 MB, free: 16.94 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.092e-06/0.304, allocations: 2.938 kB / 493 MB, free: 16.94 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.647e-05/0.304, allocations: 80.5 kB / 493 MB, free: 16.86 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.304, allocations: 0 / 493 MB, free: 16.86 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002243/0.3042, allocations: 12.42 kB / 493 MB, free: 16.86 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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.0001152/0.3043, allocations: 105.2 kB / 493.1 MB, free: 16.76 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002279/0.3046, allocations: 46.05 kB / 493.2 MB, free: 16.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3046, allocations: 5 kB / 493.2 MB, free: 16.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.765e-05/0.3047, allocations: 25.94 kB / 493.2 MB, free: 16.74 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002061/0.3049, allocations: 9.844 kB / 493.2 MB, free: 16.73 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003617/0.3053, allocations: 131 kB / 493.4 MB, free: 16.62 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.785e-05/0.3054, allocations: 0.6758 MB / 494 MB, free: 15.93 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.128e-05/0.3054, allocations: 7.938 kB / 494 MB, free: 15.92 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.303e-05/0.3055, allocations: 15.42 kB / 494.1 MB, free: 15.91 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3055, allocations: 0.8438 kB / 494.1 MB, free: 15.91 MB / 382.1 MB Notification: Performance of Templates: time 0.002786/0.3083, allocations: 0.6676 MB / 494.7 MB, free: 15.83 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1)