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.004782/0.004782, allocations: 101.2 kB / 15.73 MB, free: 6.051 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.001171/0.001171, allocations: 190.5 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.327/1.327, allocations: 205.1 MB / 222.5 MB, free: 4.496 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.2886/0.2886, allocations: 38 MB / 307.9 MB, free: 10.04 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.001573/0.001573, allocations: 71.89 kB / 433 MB, free: 5.387 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2844/0.286, allocations: 56.46 MB / 489.5 MB, free: 19.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001437/0.2875, allocations: 0.5453 MB / 490 MB, free: 19.63 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002168/0.2877, allocations: 63.58 kB / 490.1 MB, free: 19.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.499e-05/0.2878, allocations: 0 / 490.1 MB, free: 19.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.689e-05/0.2878, allocations: 3.062 kB / 490.1 MB, free: 19.59 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001894/0.288, allocations: 18.44 kB / 490.1 MB, free: 19.57 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.511e-05/0.288, allocations: 4.109 kB / 490.1 MB, free: 19.57 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.649e-05/0.2881, allocations: 0.75 kB / 490.1 MB, free: 19.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.462e-05/0.2881, allocations: 3.656 kB / 490.1 MB, free: 19.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.646e-05/0.2881, allocations: 8.547 kB / 490.1 MB, free: 19.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.715e-05/0.2882, allocations: 3.188 kB / 490.1 MB, free: 19.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.147e-06/0.2882, allocations: 0 / 490.1 MB, free: 19.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.41e-05/0.2883, allocations: 28.7 kB / 490.2 MB, free: 19.56 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.464e-06/0.2883, allocations: 0 / 490.2 MB, free: 19.56 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.493e-05/0.2883, allocations: 11.81 kB / 490.2 MB, free: 19.55 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 7.967e-05/0.2884, allocations: 16.88 kB / 490.2 MB, free: 19.54 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2884, allocations: 4 kB / 490.2 MB, free: 19.54 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2884, allocations: 0 / 490.2 MB, free: 19.54 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.2884, allocations: 0 / 490.2 MB, free: 19.54 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.0002134/0.2886, allocations: 323.7 kB / 490.5 MB, free: 19.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.073e-05/0.2887, allocations: 12.89 kB / 490.5 MB, free: 19.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.444e-05/0.2887, allocations: 3.938 kB / 490.5 MB, free: 19.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.429e-05/0.2888, allocations: 161.8 kB / 490.7 MB, free: 18.98 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.572e-06/0.2888, allocations: 384 / 490.7 MB, free: 18.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.996e-05/0.2888, allocations: 4.234 kB / 490.7 MB, free: 18.98 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.035e-05/0.2889, allocations: 35.22 kB / 490.7 MB, free: 18.95 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.2889, allocations: 5.031 kB / 490.7 MB, free: 18.95 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.2889, allocations: 3.938 kB / 490.7 MB, free: 18.94 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.2889, allocations: 0 / 490.7 MB, free: 18.94 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.366e-05/0.289, allocations: 19.12 kB / 490.7 MB, free: 18.93 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.923e-05/0.2891, allocations: 155.9 kB / 490.9 MB, free: 18.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.2892, allocations: 31.88 kB / 490.9 MB, free: 18.71 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.228e-05/0.2893, allocations: 16.72 kB / 490.9 MB, free: 18.7 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003041/0.2896, allocations: 112.1 kB / 491.1 MB, free: 18.6 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.6e-05/0.2896, allocations: 32.39 kB / 491.1 MB, free: 18.56 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.2896, allocations: 0 / 491.1 MB, free: 18.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.001222/0.2908, allocations: 192.7 kB / 491.3 MB, free: 18.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.369e-05/0.2909, allocations: 53.36 kB / 491.3 MB, free: 18.43 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.096e-05/0.2909, allocations: 92.12 kB / 491.4 MB, free: 18.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.618e-06/0.2909, allocations: 25.7 kB / 491.4 MB, free: 18.3 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.094e-05/0.2909, allocations: 85.55 kB / 491.5 MB, free: 18.22 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.674e-05/0.291, allocations: 18.31 kB / 491.5 MB, free: 18.21 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.493e-05/0.291, allocations: 19.62 kB / 491.6 MB, free: 18.19 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.719e-05/0.2911, allocations: 313.4 kB / 491.9 MB, free: 17.88 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.984e-05/0.2911, allocations: 23.12 kB / 491.9 MB, free: 17.87 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.217e-05/0.2912, allocations: 20.3 kB / 491.9 MB, free: 17.86 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001474/0.2914, allocations: 43.34 kB / 492 MB, free: 17.85 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.2914, allocations: 5.438 kB / 492 MB, free: 17.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001851/0.2916, allocations: 77.17 kB / 492 MB, free: 17.8 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.2916, allocations: 9.219 kB / 492 MB, free: 17.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.2916, allocations: 0.6562 kB / 492 MB, free: 17.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.2916, allocations: 1.469 kB / 492 MB, free: 17.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.2917, allocations: 14.2 kB / 492.1 MB, free: 17.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.2918, allocations: 3.938 kB / 492.1 MB, free: 17.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.118e-05/0.2918, allocations: 6.328 kB / 492.1 MB, free: 17.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.2919, allocations: 6.219 kB / 492.1 MB, free: 17.79 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.455e-05/0.2919, allocations: 116.3 kB / 492.2 MB, free: 17.67 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.11e-05/0.2919, allocations: 5.281 kB / 492.2 MB, free: 17.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002422/0.2922, allocations: 90.53 kB / 492.3 MB, free: 17.61 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.2922, allocations: 1.125 kB / 492.3 MB, free: 17.61 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.2922, allocations: 4 kB / 492.3 MB, free: 17.61 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.2922, allocations: 0 / 492.3 MB, free: 17.61 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006132/0.2928, allocations: 356.2 kB / 492.6 MB, free: 17.28 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2928, allocations: 0 / 492.6 MB, free: 17.28 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.248e-05/0.2929, allocations: 14.23 kB / 492.7 MB, free: 17.28 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.2929, allocations: 5.406 kB / 492.7 MB, free: 17.28 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.916e-06/0.2929, allocations: 9.875 kB / 492.7 MB, free: 17.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.293, allocations: 1.594 kB / 492.7 MB, free: 17.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.293, allocations: 0 / 492.7 MB, free: 17.27 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001959/0.2932, allocations: 177.6 kB / 492.8 MB, free: 17.12 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.72e-05/0.2932, allocations: 83.88 kB / 492.9 MB, free: 17.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.324e-05/0.2932, allocations: 5.672 kB / 492.9 MB, free: 17.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.2933, allocations: 5.328 kB / 492.9 MB, free: 17.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.937e-05/0.2933, allocations: 3.719 kB / 492.9 MB, free: 17.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-06/0.2933, allocations: 2.891 kB / 492.9 MB, free: 17.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.626e-05/0.2934, allocations: 77.12 kB / 493 MB, free: 16.94 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2934, allocations: 0 / 493 MB, free: 16.94 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002261/0.2936, allocations: 15.75 kB / 493 MB, free: 16.93 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 9.874e-05/0.2937, allocations: 117 kB / 493.1 MB, free: 16.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002157/0.2939, allocations: 50.8 kB / 493.2 MB, free: 16.81 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2939, allocations: 0 / 493.2 MB, free: 16.81 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.566e-05/0.294, allocations: 25.86 kB / 493.2 MB, free: 16.81 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002066/0.2942, allocations: 5.531 kB / 493.2 MB, free: 16.8 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003525/0.2946, allocations: 132.7 kB / 493.4 MB, free: 16.69 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.098e-05/0.2947, allocations: 0.6777 MB / 494 MB, free: 16 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.687e-05/0.2947, allocations: 2.719 kB / 494 MB, free: 16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.314e-05/0.2948, allocations: 15.62 kB / 494.1 MB, free: 15.98 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2948, allocations: 0 / 494.1 MB, free: 15.98 MB / 382.1 MB Notification: Performance of Templates: time 0.002754/0.2976, allocations: 0.6759 MB / 494.7 MB, free: 15.9 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)