Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.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.TestRegRootDerivative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0102/0.0102, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001931/0.001931, allocations: 190.6 kB / 16.67 MB, free: 5.93 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.33/1.33, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1759/0.1759, allocations: 38 MB / 307.9 MB, free: 5.977 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.001559/0.001559, allocations: 68.47 kB / 433 MB, free: 14.43 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1017, allocations: 56.46 MB / 489.4 MB, free: 5.883 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001651/0.1033, allocations: 0.5086 MB / 489.9 MB, free: 5.379 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003297/0.1037, allocations: 99.66 kB / 490 MB, free: 5.281 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.035e-05/0.1038, allocations: 0 / 490 MB, free: 5.281 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.57e-05/0.1038, allocations: 3.938 kB / 490 MB, free: 5.277 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 2.448e-05/0.1038, allocations: 0 / 490 MB, free: 5.277 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001874/0.104, allocations: 11.98 kB / 490.1 MB, free: 5.266 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 6.025e-05/0.1041, allocations: 11.97 kB / 490.1 MB, free: 5.254 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.85e-05/0.1041, allocations: 4.344 kB / 490.1 MB, free: 5.25 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.657e-05/0.1042, allocations: 11.94 kB / 490.1 MB, free: 5.238 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.028e-05/0.1042, allocations: 7.922 kB / 490.1 MB, free: 5.23 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.275e-05/0.1042, allocations: 4 kB / 490.1 MB, free: 5.227 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.1043, allocations: 35.91 kB / 490.1 MB, free: 5.191 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.15e-05/0.1044, allocations: 0 / 490.1 MB, free: 5.191 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.925e-05/0.1044, allocations: 11.94 kB / 490.1 MB, free: 5.18 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001138/0.1045, allocations: 31.89 kB / 490.2 MB, free: 5.148 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1045, allocations: 0 / 490.2 MB, free: 5.148 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1045, allocations: 0 / 490.2 MB, free: 5.148 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.207e-06/0.1045, allocations: 0 / 490.2 MB, free: 5.148 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004254/0.105, allocations: 327.5 kB / 490.5 MB, free: 4.777 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.105, allocations: 15.89 kB / 490.5 MB, free: 4.762 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.204e-05/0.1051, allocations: 4.938 kB / 490.5 MB, free: 4.758 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.1052, allocations: 168.4 kB / 490.7 MB, free: 4.555 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.1052, allocations: 384 / 490.7 MB, free: 4.555 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.043e-05/0.1052, allocations: 384 / 490.7 MB, free: 4.555 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.1054, allocations: 51.97 kB / 490.7 MB, free: 4.492 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.1054, allocations: 4.125 kB / 490.7 MB, free: 4.488 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.1054, allocations: 3.938 kB / 490.7 MB, free: 4.484 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.463e-06/0.1055, allocations: 8 kB / 490.7 MB, free: 4.477 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.954e-05/0.1055, allocations: 8 kB / 490.8 MB, free: 4.469 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003256/0.1058, allocations: 329.1 kB / 491.1 MB, free: 4.094 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.737e-05/0.1059, allocations: 30.45 kB / 491.1 MB, free: 4.055 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.948e-05/0.106, allocations: 12.86 kB / 491.1 MB, free: 4.039 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.924e-05/0.106, allocations: 0 / 491.1 MB, free: 4.039 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.106, allocations: 38.64 kB / 491.2 MB, free: 3.992 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 8.61e-07/0.106, allocations: 0 / 491.2 MB, free: 3.992 MB / 366.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001838/0.1062, allocations: 57.88 kB / 491.2 MB, free: 3.93 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.837e-05/0.1063, allocations: 51.41 kB / 491.3 MB, free: 3.867 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.182e-05/0.1063, allocations: 97.8 kB / 491.4 MB, free: 3.762 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.1064, allocations: 29.7 kB / 491.4 MB, free: 3.727 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.841e-05/0.1064, allocations: 80.14 kB / 491.5 MB, free: 3.645 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.634e-05/0.1064, allocations: 19.86 kB / 491.5 MB, free: 3.625 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.468e-05/0.1065, allocations: 17.72 kB / 491.5 MB, free: 3.602 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.1066, allocations: 310.8 kB / 491.8 MB, free: 3.289 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.407e-05/0.1066, allocations: 8 kB / 491.8 MB, free: 3.281 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.936e-05/0.1067, allocations: 25.7 kB / 491.8 MB, free: 3.25 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.105e-05/0.1067, allocations: 25.7 kB / 491.9 MB, free: 3.219 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1067, allocations: 7.938 kB / 491.9 MB, free: 3.211 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001009/0.1068, allocations: 65.56 kB / 491.9 MB, free: 3.141 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.1069, allocations: 4 kB / 491.9 MB, free: 3.137 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1069, allocations: 0 / 491.9 MB, free: 3.137 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.1069, allocations: 0 / 491.9 MB, free: 3.137 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.146e-05/0.107, allocations: 11.98 kB / 492 MB, free: 3.125 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.107, allocations: 0 / 492 MB, free: 3.125 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.556e-05/0.107, allocations: 11.84 kB / 492 MB, free: 3.113 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/0.107, allocations: 128 / 492 MB, free: 3.113 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 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 7.055e-05/0.1071, allocations: 125.7 kB / 492.1 MB, free: 2.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.248e-05/0.1071, allocations: 0 / 492.1 MB, free: 2.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001306/0.1073, allocations: 65.19 kB / 492.2 MB, free: 2.902 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1073, allocations: 0 / 492.2 MB, free: 2.902 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.1073, allocations: 0 / 492.2 MB, free: 2.902 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1073, allocations: 0 / 492.2 MB, free: 2.902 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000145/0.1074, allocations: 157.6 kB / 492.3 MB, free: 2.699 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1074, allocations: 0 / 492.3 MB, free: 2.699 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.041e-05/0.1075, allocations: 11.98 kB / 492.3 MB, free: 2.688 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1075, allocations: 0 / 492.3 MB, free: 2.688 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.1075, allocations: 4 kB / 492.3 MB, free: 2.684 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.1075, allocations: 8 kB / 492.3 MB, free: 2.676 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1075, allocations: 3.938 kB / 492.3 MB, free: 2.672 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001224/0.1077, allocations: 147.5 kB / 492.5 MB, free: 2.512 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.342e-05/0.1077, allocations: 81.02 kB / 492.6 MB, free: 2.414 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.1077, allocations: 4 kB / 492.6 MB, free: 2.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.831e-05/0.1078, allocations: 0 / 492.6 MB, free: 2.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.753e-05/0.1078, allocations: 7.984 kB / 492.6 MB, free: 2.402 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.1078, allocations: 4 kB / 492.6 MB, free: 2.398 MB / 366.1 MB Notification: Performance of sorting global known variables: time 2.686e-05/0.1079, allocations: 79.28 kB / 492.6 MB, free: 2.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1079, allocations: 0 / 492.6 MB, free: 2.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002263/0.1081, allocations: 4 kB / 492.7 MB, free: 2.316 MB / 366.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 (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.0001129/0.1082, allocations: 99.23 kB / 492.7 MB, free: 2.207 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001085/0.1083, allocations: 31.92 kB / 492.8 MB, free: 2.176 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.1083, allocations: 0 / 492.8 MB, free: 2.176 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.129e-05/0.1084, allocations: 20.09 kB / 492.8 MB, free: 2.156 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002087/0.1086, allocations: 7.938 kB / 492.8 MB, free: 2.148 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002258/0.1088, allocations: 120.8 kB / 492.9 MB, free: 2.004 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002308/0.1091, allocations: 0.6768 MB / 493.6 MB, free: 1.301 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.945e-05/0.1091, allocations: 4.25 kB / 493.6 MB, free: 1.297 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.027e-05/0.1091, allocations: 11.44 kB / 493.6 MB, free: 1.285 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1091, allocations: 4 kB / 493.6 MB, free: 1.281 MB / 366.1 MB Notification: Performance of Templates: time 0.002519/0.1117, allocations: 465.7 kB / 494.1 MB, free: 0.8281 MB / 366.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1)