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.001086/0.001086, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00125/0.00125, allocations: 194.3 kB / 16.25 MB, free: 6.621 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.323/1.323, allocations: 205.1 MB / 222.1 MB, free: 4.621 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.28/0.28, allocations: 37.98 MB / 307.4 MB, free: 10.18 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.001354/0.001354, allocations: 66.62 kB / 374.7 MB, free: 15.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1018, allocations: 56.46 MB / 431.2 MB, free: 6.957 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001556/0.1034, allocations: 0.5869 MB / 431.8 MB, free: 6.367 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002292/0.1037, allocations: 83.73 kB / 431.9 MB, free: 6.285 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.113e-05/0.1037, allocations: 4 kB / 431.9 MB, free: 6.281 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.449e-05/0.1037, allocations: 0 / 431.9 MB, free: 6.281 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 1.654e-05/0.1037, allocations: 0 / 431.9 MB, free: 6.281 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00017/0.1039, allocations: 19.91 kB / 431.9 MB, free: 6.262 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 4.304e-05/0.104, allocations: 11.98 kB / 431.9 MB, free: 6.25 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.812e-05/0.104, allocations: 8 kB / 431.9 MB, free: 6.242 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.052e-05/0.104, allocations: 7.938 kB / 431.9 MB, free: 6.234 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.056e-05/0.1041, allocations: 7.984 kB / 431.9 MB, free: 6.227 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.047e-05/0.1041, allocations: 0 / 431.9 MB, free: 6.227 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.976e-05/0.1042, allocations: 31.97 kB / 432 MB, free: 6.195 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.06e-05/0.1042, allocations: 0 / 432 MB, free: 6.195 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.841e-05/0.1042, allocations: 11.92 kB / 432 MB, free: 6.184 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 7.758e-05/0.1043, allocations: 23.91 kB / 432 MB, free: 6.16 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.1043, allocations: 0 / 432 MB, free: 6.16 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.1043, allocations: 3.984 kB / 432 MB, free: 6.156 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.1043, allocations: 0 / 432 MB, free: 6.156 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.0003257/0.1047, allocations: 331.6 kB / 432.3 MB, free: 5.781 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.957e-05/0.1047, allocations: 15.89 kB / 432.3 MB, free: 5.766 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.536e-05/0.1047, allocations: 0.9375 kB / 432.3 MB, free: 5.766 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.545e-05/0.1048, allocations: 168.5 kB / 432.5 MB, free: 5.562 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.1048, allocations: 8.375 kB / 432.5 MB, free: 5.555 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.564e-06/0.1048, allocations: 384 / 432.5 MB, free: 5.555 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/0.105, allocations: 55.91 kB / 432.6 MB, free: 5.488 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.105, allocations: 8.172 kB / 432.6 MB, free: 5.48 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.105, allocations: 3.938 kB / 432.6 MB, free: 5.477 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.105, allocations: 0 / 432.6 MB, free: 5.477 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.118e-05/0.105, allocations: 15.98 kB / 432.6 MB, free: 5.461 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002527/0.1053, allocations: 321.2 kB / 432.9 MB, free: 5.094 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.472e-05/0.1053, allocations: 30.39 kB / 432.9 MB, free: 5.055 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.597e-05/0.1054, allocations: 24.94 kB / 433 MB, free: 5.027 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.344e-05/0.1054, allocations: 0 / 433 MB, free: 5.027 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.857e-05/0.1054, allocations: 30.56 kB / 433 MB, free: 4.988 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 7.21e-07/0.1054, allocations: 0 / 433 MB, free: 4.988 MB / 366.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001474/0.1056, allocations: 57.62 kB / 433 MB, free: 4.926 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.1056, allocations: 55.41 kB / 433.1 MB, free: 4.859 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.327e-05/0.1057, allocations: 89.86 kB / 433.2 MB, free: 4.762 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.1057, allocations: 37.77 kB / 433.2 MB, free: 4.719 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.664e-05/0.1057, allocations: 88.05 kB / 433.3 MB, free: 4.629 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.12e-05/0.1058, allocations: 7.891 kB / 433.3 MB, free: 4.621 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.996e-05/0.1058, allocations: 17.72 kB / 433.3 MB, free: 4.598 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.238e-05/0.1059, allocations: 310.8 kB / 433.6 MB, free: 4.285 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.272e-05/0.1059, allocations: 11.98 kB / 433.6 MB, free: 4.273 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.367e-05/0.1059, allocations: 17.72 kB / 433.7 MB, free: 4.25 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.824e-05/0.106, allocations: 33.66 kB / 433.7 MB, free: 4.211 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.106, allocations: 0 / 433.7 MB, free: 4.211 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.539e-05/0.1061, allocations: 57.53 kB / 433.8 MB, free: 4.148 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/0.1061, allocations: 8 kB / 433.8 MB, free: 4.141 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.1061, allocations: 0 / 433.8 MB, free: 4.141 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.616e-06/0.1061, allocations: 0 / 433.8 MB, free: 4.141 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.983e-05/0.1062, allocations: 11.98 kB / 433.8 MB, free: 4.129 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.1062, allocations: 3.938 kB / 433.8 MB, free: 4.125 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.27e-05/0.1062, allocations: 7.938 kB / 433.8 MB, free: 4.117 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.1063, allocations: 8.031 kB / 433.8 MB, free: 4.109 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 5.764e-05/0.1063, allocations: 109.8 kB / 433.9 MB, free: 3.992 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.336e-05/0.1063, allocations: 4 kB / 433.9 MB, free: 3.988 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001169/0.1065, allocations: 61.31 kB / 434 MB, free: 3.918 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.1065, allocations: 4 kB / 434 MB, free: 3.914 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1065, allocations: 3.984 kB / 434 MB, free: 3.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.1065, allocations: 0 / 434 MB, free: 3.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001346/0.1066, allocations: 161.6 kB / 434.1 MB, free: 3.703 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.1066, allocations: 0 / 434.1 MB, free: 3.703 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.906e-05/0.1067, allocations: 15.94 kB / 434.1 MB, free: 3.688 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1067, allocations: 0 / 434.1 MB, free: 3.688 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.1067, allocations: 0 / 434.1 MB, free: 3.688 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.093e-06/0.1067, allocations: 0 / 434.1 MB, free: 3.688 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1067, allocations: 0 / 434.1 MB, free: 3.688 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00011/0.1068, allocations: 159.4 kB / 434.3 MB, free: 3.516 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.464e-05/0.1069, allocations: 77.34 kB / 434.4 MB, free: 3.422 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.266e-05/0.1069, allocations: 0 / 434.4 MB, free: 3.422 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.727e-05/0.1069, allocations: 4 kB / 434.4 MB, free: 3.418 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.507e-05/0.107, allocations: 15.91 kB / 434.4 MB, free: 3.402 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.135e-06/0.107, allocations: 3.938 kB / 434.4 MB, free: 3.398 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.059e-05/0.107, allocations: 83.28 kB / 434.5 MB, free: 3.316 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.107, allocations: 0 / 434.5 MB, free: 3.316 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002405/0.1073, allocations: 4 kB / 434.5 MB, free: 3.312 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 9.639e-05/0.1074, allocations: 107.1 kB / 434.6 MB, free: 3.199 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 9.036e-05/0.1075, allocations: 32.08 kB / 434.6 MB, free: 3.168 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.1075, allocations: 0 / 434.6 MB, free: 3.168 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.636e-05/0.1075, allocations: 15.94 kB / 434.6 MB, free: 3.152 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002029/0.1077, allocations: 11.38 kB / 434.6 MB, free: 3.145 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001976/0.1079, allocations: 116.9 kB / 434.8 MB, free: 3.004 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001951/0.1081, allocations: 0.6807 MB / 435.4 MB, free: 2.297 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.064e-05/0.1082, allocations: 4.312 kB / 435.4 MB, free: 2.293 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.144e-05/0.1082, allocations: 15.44 kB / 435.5 MB, free: 2.277 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1082, allocations: 0 / 435.5 MB, free: 2.277 MB / 366.1 MB Notification: Performance of Templates: time 0.00206/0.1103, allocations: 450 kB / 435.9 MB, free: 1.84 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)