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.001199/0.001199, allocations: 108 kB / 15.6 MB, free: 132 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.001251/0.001251, allocations: 195.5 kB / 16.53 MB, free: 6.391 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.582/1.582, allocations: 205.1 MB / 222.4 MB, free: 4.609 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.3323/0.3323, allocations: 37.99 MB / 307.8 MB, free: 9.996 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.001678/0.001678, allocations: 67.89 kB / 375.2 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1106, allocations: 56.46 MB / 431.7 MB, free: 6.633 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001786/0.1124, allocations: 0.5105 MB / 432.2 MB, free: 6.117 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002747/0.1127, allocations: 91.72 kB / 432.3 MB, free: 6.027 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.022e-05/0.1127, allocations: 0 / 432.3 MB, free: 6.027 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.043e-05/0.1128, allocations: 0 / 432.3 MB, free: 6.027 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 2.125e-05/0.1128, allocations: 3.938 kB / 432.3 MB, free: 6.023 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000176/0.113, allocations: 19.97 kB / 432.3 MB, free: 6.004 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 4.837e-05/0.113, allocations: 8 kB / 432.3 MB, free: 5.996 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.225e-05/0.1131, allocations: 8 kB / 432.3 MB, free: 5.988 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.326e-05/0.1131, allocations: 11.92 kB / 432.4 MB, free: 5.977 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.034e-05/0.1132, allocations: 0 / 432.4 MB, free: 5.977 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.296e-05/0.1132, allocations: 0 / 432.4 MB, free: 5.977 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.988e-05/0.1133, allocations: 31.97 kB / 432.4 MB, free: 5.945 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.668e-05/0.1133, allocations: 7.969 kB / 432.4 MB, free: 5.938 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.81e-05/0.1134, allocations: 19.81 kB / 432.4 MB, free: 5.918 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001106/0.1135, allocations: 23.91 kB / 432.4 MB, free: 5.895 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.1135, allocations: 0 / 432.4 MB, free: 5.895 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1135, allocations: 0 / 432.4 MB, free: 5.895 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.722e-06/0.1135, allocations: 0 / 432.4 MB, free: 5.895 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.0004223/0.1139, allocations: 335.6 kB / 432.8 MB, free: 5.516 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.114, allocations: 11.89 kB / 432.8 MB, free: 5.504 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.276e-05/0.114, allocations: 0.9375 kB / 432.8 MB, free: 5.504 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000121/0.1142, allocations: 168.5 kB / 432.9 MB, free: 5.301 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.1142, allocations: 4.375 kB / 433 MB, free: 5.297 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.078e-05/0.1142, allocations: 384 / 433 MB, free: 5.297 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.1143, allocations: 55.97 kB / 433 MB, free: 5.23 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.1144, allocations: 192 / 433 MB, free: 5.23 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.1144, allocations: 7.938 kB / 433 MB, free: 5.223 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.1144, allocations: 4 kB / 433 MB, free: 5.219 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.908e-05/0.1144, allocations: 11.92 kB / 433 MB, free: 5.207 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003163/0.1148, allocations: 317.2 kB / 433.3 MB, free: 4.844 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.838e-05/0.1148, allocations: 30.45 kB / 433.4 MB, free: 4.805 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.193e-05/0.1149, allocations: 20.94 kB / 433.4 MB, free: 4.781 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.782e-05/0.1149, allocations: 4 kB / 433.4 MB, free: 4.777 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.1149, allocations: 30.56 kB / 433.4 MB, free: 4.738 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.1149, allocations: 0 / 433.4 MB, free: 4.738 MB / 366.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001985/0.1151, allocations: 49.69 kB / 433.5 MB, free: 4.684 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.036e-05/0.1152, allocations: 55.41 kB / 433.5 MB, free: 4.617 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.161e-05/0.1153, allocations: 97.86 kB / 433.6 MB, free: 4.512 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.1153, allocations: 29.7 kB / 433.7 MB, free: 4.477 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.487e-05/0.1154, allocations: 88.03 kB / 433.7 MB, free: 4.387 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.388e-05/0.1154, allocations: 15.83 kB / 433.8 MB, free: 4.371 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.251e-05/0.1154, allocations: 17.66 kB / 433.8 MB, free: 4.348 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.1155, allocations: 314.8 kB / 434.1 MB, free: 4.031 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.608e-05/0.1156, allocations: 7.984 kB / 434.1 MB, free: 4.023 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.376e-05/0.1156, allocations: 21.72 kB / 434.1 MB, free: 3.996 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.904e-05/0.1157, allocations: 25.84 kB / 434.1 MB, free: 3.965 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1157, allocations: 0 / 434.1 MB, free: 3.965 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.286e-05/0.1158, allocations: 69.47 kB / 434.2 MB, free: 3.891 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.1158, allocations: 4 kB / 434.2 MB, free: 3.887 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.1158, allocations: 3.984 kB / 434.2 MB, free: 3.883 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.1158, allocations: 0 / 434.2 MB, free: 3.883 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.562e-05/0.1159, allocations: 8 kB / 434.2 MB, free: 3.875 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.1159, allocations: 0 / 434.2 MB, free: 3.875 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.423e-05/0.1159, allocations: 11.97 kB / 434.2 MB, free: 3.863 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.116, allocations: 0 / 434.2 MB, free: 3.863 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 8.084e-05/0.116, allocations: 117.7 kB / 434.3 MB, free: 3.738 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.492e-05/0.1161, allocations: 7.938 kB / 434.3 MB, free: 3.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001333/0.1162, allocations: 65.3 kB / 434.4 MB, free: 3.656 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.1162, allocations: 240 / 434.4 MB, free: 3.656 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.1162, allocations: 0 / 434.4 MB, free: 3.656 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.1162, allocations: 3.984 kB / 434.4 MB, free: 3.652 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001628/0.1164, allocations: 161.6 kB / 434.6 MB, free: 3.445 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1164, allocations: 4 kB / 434.6 MB, free: 3.441 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.145e-05/0.1165, allocations: 8 kB / 434.6 MB, free: 3.434 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.572e-06/0.1165, allocations: 0 / 434.6 MB, free: 3.434 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.1165, allocations: 0 / 434.6 MB, free: 3.434 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.1165, allocations: 0 / 434.6 MB, free: 3.434 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1165, allocations: 4 kB / 434.6 MB, free: 3.43 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001415/0.1166, allocations: 155.3 kB / 434.7 MB, free: 3.262 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.406e-05/0.1167, allocations: 77.11 kB / 434.8 MB, free: 3.168 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.1167, allocations: 4 kB / 434.8 MB, free: 3.164 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.059e-05/0.1168, allocations: 8 kB / 434.8 MB, free: 3.156 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.321e-05/0.1168, allocations: 3.984 kB / 434.8 MB, free: 3.152 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.1168, allocations: 0 / 434.8 MB, free: 3.152 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.461e-05/0.1168, allocations: 79.28 kB / 434.9 MB, free: 3.074 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1169, allocations: 3.938 kB / 434.9 MB, free: 3.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002368/0.1171, allocations: 4 kB / 434.9 MB, free: 3.066 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.0001327/0.1172, allocations: 103.2 kB / 435 MB, free: 2.957 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001042/0.1173, allocations: 32.02 kB / 435.1 MB, free: 2.926 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1174, allocations: 0 / 435.1 MB, free: 2.926 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.909e-05/0.1174, allocations: 16 kB / 435.1 MB, free: 2.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002113/0.1176, allocations: 11.19 kB / 435.1 MB, free: 2.902 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002414/0.1179, allocations: 116.8 kB / 435.2 MB, free: 2.762 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002676/0.1181, allocations: 0.6729 MB / 435.9 MB, free: 2.062 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.316e-05/0.1182, allocations: 8.297 kB / 435.9 MB, free: 2.055 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.113e-05/0.1182, allocations: 11.44 kB / 435.9 MB, free: 2.043 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1182, allocations: 0 / 435.9 MB, free: 2.043 MB / 366.1 MB Notification: Performance of Templates: time 0.002404/0.1206, allocations: 465.9 kB / 436.3 MB, free: 1.59 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)