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.001099/0.001103, allocations: 108.6 kB / 15.73 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 186.8 kB / 16.66 MB, free: 6.602 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.373/1.373, allocations: 205.1 MB / 222.5 MB, free: 4.5 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.3067/0.3067, allocations: 37.99 MB / 307.9 MB, free: 10.06 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.001461/0.001461, allocations: 67.91 kB / 433 MB, free: 5.453 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2671/0.2685, allocations: 56.47 MB / 489.4 MB, free: 19.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001442/0.27, allocations: 0.5087 MB / 489.9 MB, free: 19.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002492/0.2703, allocations: 100.5 kB / 490 MB, free: 19.53 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.231e-05/0.2703, allocations: 0 / 490 MB, free: 19.53 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.456e-05/0.2703, allocations: 0 / 490 MB, free: 19.53 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 1.85e-05/0.2704, allocations: 3.938 kB / 490 MB, free: 19.53 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001776/0.2705, allocations: 19.41 kB / 490.1 MB, free: 19.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.642e-05/0.2706, allocations: 12.58 kB / 490.1 MB, free: 19.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.386e-05/0.2706, allocations: 0.5156 kB / 490.1 MB, free: 19.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.254e-05/0.2707, allocations: 8.438 kB / 490.1 MB, free: 19.51 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.775e-05/0.2707, allocations: 8.875 kB / 490.1 MB, free: 19.51 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.232e-05/0.2707, allocations: 3 kB / 490.1 MB, free: 19.51 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.971e-05/0.2708, allocations: 31.61 kB / 490.1 MB, free: 19.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.112e-05/0.2708, allocations: 1.359 kB / 490.1 MB, free: 19.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.861e-05/0.2709, allocations: 4.594 kB / 490.1 MB, free: 19.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.093e-05/0.271, allocations: 31.64 kB / 490.2 MB, free: 19.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.271, allocations: 4.703 kB / 490.2 MB, free: 19.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.271, allocations: 0 / 490.2 MB, free: 19.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.271, allocations: 3 kB / 490.2 MB, free: 19.48 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002957/0.2713, allocations: 334.1 kB / 490.5 MB, free: 19.12 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.2713, allocations: 13.66 kB / 490.5 MB, free: 19.12 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.89e-05/0.2714, allocations: 0.9375 kB / 490.5 MB, free: 19.12 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.229e-05/0.2714, allocations: 164.2 kB / 490.7 MB, free: 18.92 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.2714, allocations: 4.984 kB / 490.7 MB, free: 18.92 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.336e-06/0.2715, allocations: 7.406 kB / 490.7 MB, free: 18.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001026/0.2716, allocations: 50.38 kB / 490.7 MB, free: 18.86 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.2716, allocations: 192 / 490.7 MB, free: 18.86 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.2716, allocations: 3.938 kB / 490.7 MB, free: 18.86 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.2716, allocations: 3.031 kB / 490.7 MB, free: 18.86 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.468e-05/0.2716, allocations: 15.59 kB / 490.8 MB, free: 18.85 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002111/0.2719, allocations: 320.3 kB / 491.1 MB, free: 18.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.823e-05/0.2719, allocations: 24.98 kB / 491.1 MB, free: 18.47 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.469e-05/0.272, allocations: 16.62 kB / 491.1 MB, free: 18.46 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.272, allocations: 5.844 kB / 491.1 MB, free: 18.45 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.455e-05/0.272, allocations: 31.81 kB / 491.1 MB, free: 18.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.272, allocations: 0 / 491.1 MB, free: 18.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001621/0.2722, allocations: 57.53 kB / 491.2 MB, free: 18.37 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.477e-05/0.2722, allocations: 57.44 kB / 491.3 MB, free: 18.3 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.074e-05/0.2723, allocations: 94.09 kB / 491.4 MB, free: 18.21 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.873e-06/0.2723, allocations: 25.7 kB / 491.4 MB, free: 18.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.234e-05/0.2723, allocations: 90.03 kB / 491.5 MB, free: 18.09 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.107e-05/0.2723, allocations: 11.44 kB / 491.5 MB, free: 18.08 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-05/0.2724, allocations: 22.03 kB / 491.5 MB, free: 18.05 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.872e-05/0.2724, allocations: 313.8 kB / 491.8 MB, free: 17.74 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.445e-05/0.2724, allocations: 16.38 kB / 491.8 MB, free: 17.73 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.243e-05/0.2725, allocations: 20.94 kB / 491.8 MB, free: 17.71 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.709e-05/0.2725, allocations: 37.31 kB / 491.9 MB, free: 17.68 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2725, allocations: 0 / 491.9 MB, free: 17.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.992e-05/0.2726, allocations: 58.91 kB / 491.9 MB, free: 17.64 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.2726, allocations: 6.891 kB / 491.9 MB, free: 17.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.2726, allocations: 0 / 491.9 MB, free: 17.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.2726, allocations: 5.125 kB / 491.9 MB, free: 17.63 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.026e-05/0.2727, allocations: 9.297 kB / 492 MB, free: 17.63 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.2727, allocations: 0 / 492 MB, free: 17.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.378e-05/0.2728, allocations: 9.969 kB / 492 MB, free: 17.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/0.2728, allocations: 2.312 kB / 492 MB, free: 17.62 MB / 382.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 4.003e-05/0.2728, allocations: 111.7 kB / 492.1 MB, free: 17.51 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.215e-05/0.2728, allocations: 1.438 kB / 492.1 MB, free: 17.51 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001075/0.2729, allocations: 65.91 kB / 492.1 MB, free: 17.45 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.273, allocations: 4.656 kB / 492.1 MB, free: 17.45 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.273, allocations: 5.5 kB / 492.2 MB, free: 17.44 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.273, allocations: 0.7969 kB / 492.2 MB, free: 17.44 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001044/0.2731, allocations: 161.3 kB / 492.3 MB, free: 17.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.2731, allocations: 1.672 kB / 492.3 MB, free: 17.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.919e-05/0.2731, allocations: 7.203 kB / 492.3 MB, free: 17.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.2731, allocations: 1.219 kB / 492.3 MB, free: 17.24 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.2732, allocations: 0 / 492.3 MB, free: 17.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2732, allocations: 1.094 kB / 492.3 MB, free: 17.24 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2732, allocations: 0.6562 kB / 492.3 MB, free: 17.24 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.121e-05/0.2733, allocations: 160.2 kB / 492.5 MB, free: 17.09 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.713e-05/0.2733, allocations: 86.77 kB / 492.6 MB, free: 16.99 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.099e-05/0.2733, allocations: 1.953 kB / 492.6 MB, free: 16.99 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.692e-05/0.2734, allocations: 0 / 492.6 MB, free: 16.99 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.008e-05/0.2734, allocations: 3.875 kB / 492.6 MB, free: 16.99 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-06/0.2734, allocations: 1.062 kB / 492.6 MB, free: 16.99 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.729e-05/0.2734, allocations: 81.88 kB / 492.7 MB, free: 16.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.42e-07/0.2734, allocations: 0 / 492.7 MB, free: 16.91 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002213/0.2737, allocations: 13.98 kB / 492.7 MB, free: 16.9 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 (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.633e-05/0.2738, allocations: 101.2 kB / 492.8 MB, free: 16.81 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.879e-05/0.2739, allocations: 30.41 kB / 492.8 MB, free: 16.8 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2739, allocations: 0 / 492.8 MB, free: 16.8 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.785e-05/0.2739, allocations: 10.77 kB / 492.8 MB, free: 16.8 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002012/0.2741, allocations: 9.062 kB / 492.8 MB, free: 16.79 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001818/0.2743, allocations: 106.5 kB / 492.9 MB, free: 16.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.224e-05/0.2744, allocations: 0.6811 MB / 493.6 MB, free: 15.98 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.979e-05/0.2744, allocations: 7.406 kB / 493.6 MB, free: 15.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.767e-05/0.2745, allocations: 9.406 kB / 493.6 MB, free: 15.97 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2745, allocations: 0 / 493.6 MB, free: 15.97 MB / 382.1 MB Notification: Performance of Templates: time 0.002469/0.2769, allocations: 479.2 kB / 494.1 MB, free: 15.89 MB / 382.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)