Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.001453/0.001453, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001747/0.001747, allocations: 190.8 kB / 16.13 MB, free: 6.707 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.376/1.376, allocations: 205.1 MB / 222 MB, free: 4.77 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2949/0.2949, allocations: 39.94 MB / 309.3 MB, free: 9.398 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.2. 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.00132/0.00132, allocations: 65.94 kB / 376.9 MB, free: 13.13 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1167, allocations: 56.88 MB / 433.8 MB, free: 4.148 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001771/0.1185, allocations: 0.5675 MB / 434.4 MB, free: 3.578 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003138/0.1188, allocations: 95.77 kB / 434.5 MB, free: 3.484 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.316e-05/0.1188, allocations: 0 / 434.5 MB, free: 3.484 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.562e-05/0.1189, allocations: 3.938 kB / 434.5 MB, free: 3.48 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 2.019e-05/0.1189, allocations: 0 / 434.5 MB, free: 3.48 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001468/0.119, allocations: 15.98 kB / 434.5 MB, free: 3.465 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 4.433e-05/0.1191, allocations: 15.94 kB / 434.5 MB, free: 3.449 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.894e-05/0.1191, allocations: 0 / 434.5 MB, free: 3.449 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.466e-05/0.1192, allocations: 7.984 kB / 434.5 MB, free: 3.441 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.875e-05/0.1192, allocations: 0 / 434.5 MB, free: 3.441 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.617e-05/0.1192, allocations: 7.938 kB / 434.5 MB, free: 3.434 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.773e-05/0.1193, allocations: 31.91 kB / 434.5 MB, free: 3.402 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.144e-05/0.1194, allocations: 15.97 kB / 434.6 MB, free: 3.387 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.141e-05/0.1194, allocations: 0 / 434.6 MB, free: 3.387 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 9.401e-05/0.1195, allocations: 27.91 kB / 434.6 MB, free: 3.359 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1195, allocations: 0 / 434.6 MB, free: 3.359 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.1195, allocations: 4 kB / 434.6 MB, free: 3.355 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.526e-06/0.1195, allocations: 0 / 434.6 MB, free: 3.355 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.0003944/0.1199, allocations: 331.5 kB / 434.9 MB, free: 2.98 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.12, allocations: 8.031 kB / 434.9 MB, free: 2.973 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.911e-05/0.12, allocations: 0.9375 kB / 434.9 MB, free: 2.973 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/0.1201, allocations: 172.5 kB / 435.1 MB, free: 2.766 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.875e-06/0.1201, allocations: 384 / 435.1 MB, free: 2.766 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.1202, allocations: 384 / 435.1 MB, free: 2.766 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.1203, allocations: 55.97 kB / 435.1 MB, free: 2.699 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/0.1203, allocations: 192 / 435.1 MB, free: 2.699 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.1203, allocations: 7.938 kB / 435.2 MB, free: 2.691 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.1203, allocations: 8 kB / 435.2 MB, free: 2.684 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.349e-05/0.1204, allocations: 11.92 kB / 435.2 MB, free: 2.672 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002857/0.1207, allocations: 321.1 kB / 435.5 MB, free: 2.305 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.099e-05/0.1207, allocations: 38.48 kB / 435.5 MB, free: 2.258 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.662e-05/0.1208, allocations: 16.86 kB / 435.5 MB, free: 2.238 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.634e-05/0.1208, allocations: 3.984 kB / 435.5 MB, free: 2.234 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.1208, allocations: 30.56 kB / 435.6 MB, free: 2.195 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.1208, allocations: 4 kB / 435.6 MB, free: 2.191 MB / 366.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001787/0.121, allocations: 57.62 kB / 435.6 MB, free: 2.129 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.814e-05/0.121, allocations: 51.41 kB / 435.7 MB, free: 2.066 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.31e-05/0.1211, allocations: 105.8 kB / 435.8 MB, free: 1.953 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.1211, allocations: 25.7 kB / 435.8 MB, free: 1.922 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.881e-05/0.1212, allocations: 84.12 kB / 435.9 MB, free: 1.836 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.228e-05/0.1212, allocations: 11.81 kB / 435.9 MB, free: 1.824 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.321e-05/0.1212, allocations: 13.72 kB / 435.9 MB, free: 1.805 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.1213, allocations: 322.8 kB / 436.2 MB, free: 1.48 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.973e-05/0.1214, allocations: 0 / 436.2 MB, free: 1.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.576e-05/0.1214, allocations: 25.84 kB / 436.3 MB, free: 1.449 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.523e-05/0.1215, allocations: 29.64 kB / 436.3 MB, free: 1.414 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1215, allocations: 4 kB / 436.3 MB, free: 1.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.851e-05/0.1216, allocations: 61.56 kB / 436.4 MB, free: 1.344 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.1216, allocations: 4 kB / 436.4 MB, free: 1.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1216, allocations: 0 / 436.4 MB, free: 1.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.1216, allocations: 0 / 436.4 MB, free: 1.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.023e-05/0.1217, allocations: 8 kB / 436.4 MB, free: 1.332 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.1217, allocations: 7.969 kB / 436.4 MB, free: 1.324 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.38e-05/0.1217, allocations: 7.938 kB / 436.4 MB, free: 1.316 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.1217, allocations: 0 / 436.4 MB, free: 1.316 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.15e-05/0.1218, allocations: 117.8 kB / 436.5 MB, free: 1.191 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.424e-05/0.1218, allocations: 3.906 kB / 436.5 MB, free: 1.188 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001187/0.122, allocations: 65.11 kB / 436.6 MB, free: 1.113 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.122, allocations: 0 / 436.6 MB, free: 1.113 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.122, allocations: 0 / 436.6 MB, free: 1.113 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.122, allocations: 4 kB / 436.6 MB, free: 1.109 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001442/0.1221, allocations: 161.6 kB / 436.7 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.1222, allocations: 4 kB / 436.7 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.601e-05/0.1222, allocations: 4 kB / 436.7 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.1222, allocations: 0 / 436.7 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.002e-06/0.1222, allocations: 4.125 kB / 436.7 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.1222, allocations: 8 kB / 436.7 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1222, allocations: 0 / 436.7 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001267/0.1224, allocations: 155.4 kB / 436.9 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.974e-05/0.1224, allocations: 77.11 kB / 437 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.1224, allocations: 11.98 kB / 437 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.636e-05/0.1225, allocations: 0 / 437 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.828e-05/0.1225, allocations: 0 / 437 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.1225, allocations: 4 kB / 437 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of sorting global known variables: time 2.805e-05/0.1225, allocations: 75.28 kB / 437.1 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1225, allocations: 0 / 437.1 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002141/0.1228, allocations: 4 kB / 437.1 MB, free: 0.5273 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.000142/0.1229, allocations: 115.2 kB / 437.2 MB, free: 416 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 9.069e-05/0.123, allocations: 20 kB / 437.2 MB, free: 396 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.123, allocations: 0 / 437.2 MB, free: 396 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.268e-05/0.1231, allocations: 23.92 kB / 437.2 MB, free: 372 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002112/0.1233, allocations: 3.938 kB / 437.2 MB, free: 368 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002411/0.1235, allocations: 118.7 kB / 437.3 MB, free: 220 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002741/0.1238, allocations: 0.6771 MB / 438 MB, free: 15.51 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.592e-05/0.1239, allocations: 3.984 kB / 438 MB, free: 15.51 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.871e-05/0.1239, allocations: 15.38 kB / 438 MB, free: 15.5 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1239, allocations: 0 / 438 MB, free: 15.5 MB / 382.1 MB Notification: Performance of Templates: time 0.002409/0.1263, allocations: 434.4 kB / 438.5 MB, free: 15.07 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1)