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.001214/0.001214, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001534/0.001534, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.377/1.377, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.312/0.312, allocations: 38.02 MB / 308.4 MB, free: 10.36 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.0005813/0.0005814, allocations: 16 kB / 376.4 MB, free: 15.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1088, allocations: 57.51 MB / 433.9 MB, free: 5.578 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.0006864/0.1095, allocations: 240.4 kB / 434.2 MB, free: 5.344 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003183/0.1099, allocations: 97.42 kB / 434.2 MB, free: 5.25 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.77e-05/0.1099, allocations: 4 kB / 434.2 MB, free: 5.246 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.559e-05/0.1099, allocations: 0 / 434.2 MB, free: 5.246 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 2.376e-05/0.11, allocations: 0 / 434.2 MB, free: 5.246 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001703/0.1101, allocations: 0 / 434.2 MB, free: 5.246 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 5.313e-05/0.1102, allocations: 15.97 kB / 434.3 MB, free: 5.23 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.823e-05/0.1103, allocations: 3.938 kB / 434.3 MB, free: 5.227 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.938e-05/0.1103, allocations: 7.938 kB / 434.3 MB, free: 5.219 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.801e-05/0.1104, allocations: 15.92 kB / 434.3 MB, free: 5.203 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.163e-05/0.1104, allocations: 0 / 434.3 MB, free: 5.203 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.252e-05/0.1105, allocations: 27.97 kB / 434.3 MB, free: 5.176 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.225e-05/0.1105, allocations: 4 kB / 434.3 MB, free: 5.172 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.465e-05/0.1105, allocations: 25.7 kB / 434.3 MB, free: 5.141 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 7.971e-05/0.1106, allocations: 19.97 kB / 434.4 MB, free: 5.121 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.1106, allocations: 3.938 kB / 434.4 MB, free: 5.117 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.1106, allocations: 0 / 434.4 MB, free: 5.117 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.1107, allocations: 0 / 434.4 MB, free: 5.117 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.0003862/0.111, allocations: 323.4 kB / 434.7 MB, free: 4.754 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.1111, allocations: 8.031 kB / 434.7 MB, free: 4.746 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.995e-05/0.1112, allocations: 4 kB / 434.7 MB, free: 4.742 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.1113, allocations: 167.2 kB / 434.9 MB, free: 4.539 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.1113, allocations: 8 kB / 434.9 MB, free: 4.531 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.438e-06/0.1113, allocations: 0 / 434.9 MB, free: 4.531 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001163/0.1115, allocations: 55.41 kB / 434.9 MB, free: 4.465 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.1115, allocations: 0 / 434.9 MB, free: 4.465 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.1115, allocations: 0 / 434.9 MB, free: 4.465 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.1115, allocations: 0 / 434.9 MB, free: 4.465 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.542e-05/0.1116, allocations: 23.92 kB / 434.9 MB, free: 4.441 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002673/0.1118, allocations: 329 kB / 435.3 MB, free: 4.066 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.878e-05/0.1119, allocations: 18.58 kB / 435.3 MB, free: 4.039 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.1119, allocations: 3.938 kB / 435.3 MB, free: 4.035 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.1119, allocations: 42.59 kB / 435.3 MB, free: 3.984 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.1119, allocations: 4 kB / 435.3 MB, free: 3.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001603/0.1121, allocations: 53.67 kB / 435.4 MB, free: 3.922 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.017e-05/0.1122, allocations: 51.41 kB / 435.4 MB, free: 3.859 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.33e-05/0.1122, allocations: 93.86 kB / 435.5 MB, free: 3.758 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.1122, allocations: 29.7 kB / 435.6 MB, free: 3.723 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.384e-05/0.1123, allocations: 80.14 kB / 435.6 MB, free: 3.641 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.096e-05/0.1123, allocations: 7.812 kB / 435.6 MB, free: 3.633 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.027e-06/0.1123, allocations: 4 kB / 435.7 MB, free: 3.629 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.1124, allocations: 326.9 kB / 436 MB, free: 3.301 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.08e-05/0.1124, allocations: 4 kB / 436 MB, free: 3.297 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.51e-05/0.1125, allocations: 21.66 kB / 436 MB, free: 3.27 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.587e-05/0.1125, allocations: 11.98 kB / 436 MB, free: 3.258 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.1125, allocations: 0 / 436 MB, free: 3.258 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.51e-05/0.1126, allocations: 49.69 kB / 436.1 MB, free: 3.203 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.1126, allocations: 11.59 kB / 436.1 MB, free: 3.195 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.1126, allocations: 3.938 kB / 436.1 MB, free: 3.191 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.1126, allocations: 4.031 kB / 436.1 MB, free: 3.188 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.563e-05/0.1127, allocations: 8 kB / 436.1 MB, free: 3.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.1127, allocations: 3.938 kB / 436.1 MB, free: 3.176 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.522e-05/0.1128, allocations: 7.844 kB / 436.1 MB, free: 3.168 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.1128, allocations: 8 kB / 436.1 MB, free: 3.16 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.179e-05/0.1129, allocations: 114.8 kB / 436.2 MB, free: 3.039 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.13e-05/0.1129, allocations: 0 / 436.2 MB, free: 3.039 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001249/0.113, allocations: 69.11 kB / 436.3 MB, free: 2.961 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.1131, allocations: 4.234 kB / 436.3 MB, free: 2.957 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.1131, allocations: 0 / 436.3 MB, free: 2.957 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.1131, allocations: 4 kB / 436.3 MB, free: 2.953 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001494/0.1132, allocations: 161.6 kB / 436.4 MB, free: 2.746 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.1132, allocations: 0 / 436.4 MB, free: 2.746 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.247e-05/0.1133, allocations: 8 kB / 436.5 MB, free: 2.738 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.113e-06/0.1133, allocations: 0 / 436.5 MB, free: 2.738 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-06/0.1133, allocations: 0 / 436.5 MB, free: 2.738 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.1133, allocations: 192 / 436.5 MB, free: 2.738 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.1133, allocations: 0 / 436.5 MB, free: 2.738 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001335/0.1134, allocations: 167.3 kB / 436.6 MB, free: 2.559 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.011e-05/0.1135, allocations: 81.11 kB / 436.7 MB, free: 2.461 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.292e-05/0.1135, allocations: 3.984 kB / 436.7 MB, free: 2.457 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.727e-05/0.1136, allocations: 0 / 436.7 MB, free: 2.457 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.628e-05/0.1136, allocations: 7.938 kB / 436.7 MB, free: 2.449 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.1136, allocations: 0 / 436.7 MB, free: 2.449 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.524e-05/0.1136, allocations: 75.28 kB / 436.8 MB, free: 2.375 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1136, allocations: 0 / 436.8 MB, free: 2.375 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000224/0.1139, allocations: 16.09 kB / 436.8 MB, free: 2.359 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001079/0.114, allocations: 95.25 kB / 436.9 MB, free: 2.258 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 8.949e-05/0.1141, allocations: 23.98 kB / 436.9 MB, free: 2.234 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1141, allocations: 0 / 436.9 MB, free: 2.234 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.168e-05/0.1141, allocations: 15.94 kB / 436.9 MB, free: 2.219 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001334/0.1143, allocations: 11.88 kB / 436.9 MB, free: 2.207 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002216/0.1145, allocations: 110.8 kB / 437 MB, free: 2.07 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00023/0.1147, allocations: 0.6848 MB / 437.7 MB, free: 1.359 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.002e-05/0.1148, allocations: 0 / 437.7 MB, free: 1.359 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.667e-05/0.1148, allocations: 11.44 kB / 437.7 MB, free: 1.348 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1148, allocations: 0 / 437.7 MB, free: 1.348 MB / 366.1 MB Notification: Performance of Templates: time 0.002249/0.1171, allocations: 413.4 kB / 438.1 MB, free: 0.9453 MB / 366.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: