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.001198/0.001197, 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.001669/0.001669, allocations: 192.8 kB / 16.14 MB, free: 6.699 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.587/1.587, allocations: 205.1 MB / 222 MB, free: 4.777 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.2975/0.2975, allocations: 37.99 MB / 307.3 MB, free: 10.04 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.001338/0.001338, allocations: 64.75 kB / 374.5 MB, free: 15.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1049, allocations: 56.47 MB / 431 MB, free: 7.09 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001622/0.1066, allocations: 0.5713 MB / 431.6 MB, free: 6.516 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002707/0.1069, allocations: 99.7 kB / 431.7 MB, free: 6.418 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.288e-05/0.1069, allocations: 0 / 431.7 MB, free: 6.418 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.478e-05/0.1069, allocations: 0 / 431.7 MB, free: 6.418 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 1.94e-05/0.107, allocations: 4 kB / 431.7 MB, free: 6.414 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001621/0.1071, allocations: 4 kB / 431.7 MB, free: 6.41 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 4.797e-05/0.1072, allocations: 15.98 kB / 431.7 MB, free: 6.395 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.283e-05/0.1072, allocations: 7.938 kB / 431.7 MB, free: 6.387 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.493e-05/0.1073, allocations: 7.938 kB / 431.7 MB, free: 6.379 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.76e-05/0.1073, allocations: 11.97 kB / 431.7 MB, free: 6.367 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.128e-05/0.1073, allocations: 4 kB / 431.7 MB, free: 6.363 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.948e-05/0.1074, allocations: 23.97 kB / 431.8 MB, free: 6.34 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.441e-05/0.1074, allocations: 8 kB / 431.8 MB, free: 6.332 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.895e-05/0.1075, allocations: 7.922 kB / 431.8 MB, free: 6.324 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 7.726e-05/0.1075, allocations: 23.92 kB / 431.8 MB, free: 6.301 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1075, allocations: 3.984 kB / 431.8 MB, free: 6.297 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1076, allocations: 0 / 431.8 MB, free: 6.297 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.236e-06/0.1076, allocations: 4 kB / 431.8 MB, free: 6.293 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.0003242/0.1079, allocations: 331.5 kB / 432.1 MB, free: 5.918 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.1079, allocations: 8.031 kB / 432.1 MB, free: 5.91 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.379e-05/0.108, allocations: 0.9375 kB / 432.1 MB, free: 5.91 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.171e-05/0.108, allocations: 172.5 kB / 432.3 MB, free: 5.703 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.966e-06/0.1081, allocations: 384 / 432.3 MB, free: 5.703 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.377e-06/0.1081, allocations: 4.359 kB / 432.3 MB, free: 5.699 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/0.1082, allocations: 63.91 kB / 432.4 MB, free: 5.625 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.741e-06/0.1082, allocations: 192 / 432.4 MB, free: 5.625 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.1082, allocations: 7.938 kB / 432.4 MB, free: 5.617 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.1082, allocations: 0 / 432.4 MB, free: 5.617 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.982e-05/0.1083, allocations: 7.984 kB / 432.4 MB, free: 5.609 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002474/0.1085, allocations: 321.2 kB / 432.7 MB, free: 5.242 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.94e-05/0.1086, allocations: 34.45 kB / 432.7 MB, free: 5.199 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.529e-05/0.1086, allocations: 20.94 kB / 432.8 MB, free: 5.176 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.365e-05/0.1086, allocations: 3.984 kB / 432.8 MB, free: 5.172 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.782e-05/0.1087, allocations: 34.56 kB / 432.8 MB, free: 5.129 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.1087, allocations: 0 / 432.8 MB, free: 5.129 MB / 366.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001627/0.1088, allocations: 53.69 kB / 432.9 MB, free: 5.07 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.625e-05/0.1089, allocations: 51.41 kB / 432.9 MB, free: 5.008 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.895e-05/0.1089, allocations: 101.8 kB / 433 MB, free: 4.898 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.277e-06/0.109, allocations: 29.64 kB / 433 MB, free: 4.863 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.475e-05/0.109, allocations: 84.05 kB / 433.1 MB, free: 4.777 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.157e-05/0.109, allocations: 11.89 kB / 433.1 MB, free: 4.766 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.908e-05/0.109, allocations: 17.72 kB / 433.1 MB, free: 4.742 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.247e-05/0.1091, allocations: 314.8 kB / 433.4 MB, free: 4.426 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.124e-05/0.1092, allocations: 7.984 kB / 433.5 MB, free: 4.418 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.452e-05/0.1092, allocations: 17.84 kB / 433.5 MB, free: 4.395 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.89e-05/0.1092, allocations: 33.72 kB / 433.5 MB, free: 4.355 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.1093, allocations: 0 / 433.5 MB, free: 4.355 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.454e-05/0.1093, allocations: 61.47 kB / 433.6 MB, free: 4.289 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.013e-05/0.1094, allocations: 4 kB / 433.6 MB, free: 4.285 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.1094, allocations: 0 / 433.6 MB, free: 4.285 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.868e-06/0.1094, allocations: 4 kB / 433.6 MB, free: 4.281 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.773e-05/0.1094, allocations: 7.984 kB / 433.6 MB, free: 4.273 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.1095, allocations: 0 / 433.6 MB, free: 4.273 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.137e-05/0.1095, allocations: 11.97 kB / 433.6 MB, free: 4.262 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-06/0.1095, allocations: 0 / 433.6 MB, free: 4.262 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 6.766e-05/0.1096, allocations: 121.7 kB / 433.7 MB, free: 4.133 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.198e-05/0.1096, allocations: 0 / 433.7 MB, free: 4.133 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001155/0.1097, allocations: 65.31 kB / 433.8 MB, free: 4.059 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.1097, allocations: 0 / 433.8 MB, free: 4.059 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.1097, allocations: 3.984 kB / 433.8 MB, free: 4.055 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.1097, allocations: 3.938 kB / 433.8 MB, free: 4.051 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001413/0.1099, allocations: 157.6 kB / 433.9 MB, free: 3.848 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1099, allocations: 8 kB / 433.9 MB, free: 3.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.676e-05/0.1099, allocations: 4 kB / 433.9 MB, free: 3.836 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1099, allocations: 240 / 433.9 MB, free: 3.836 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.11, allocations: 4 kB / 434 MB, free: 3.832 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.11, allocations: 3.938 kB / 434 MB, free: 3.828 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.11, allocations: 0 / 434 MB, free: 3.828 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001223/0.1101, allocations: 159.4 kB / 434.1 MB, free: 3.656 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.032e-05/0.1101, allocations: 77.11 kB / 434.2 MB, free: 3.562 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.149e-05/0.1102, allocations: 8 kB / 434.2 MB, free: 3.555 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.629e-05/0.1102, allocations: 0 / 434.2 MB, free: 3.555 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.725e-05/0.1102, allocations: 3.984 kB / 434.2 MB, free: 3.551 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.621e-06/0.1102, allocations: 7.938 kB / 434.2 MB, free: 3.543 MB / 366.1 MB Notification: Performance of sorting global known variables: time 2.901e-05/0.1103, allocations: 75.28 kB / 434.3 MB, free: 3.469 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1103, allocations: 0 / 434.3 MB, free: 3.469 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002142/0.1105, allocations: 8 kB / 434.3 MB, free: 3.461 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.0001013/0.1106, allocations: 107.2 kB / 434.4 MB, free: 3.348 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 8.146e-05/0.1107, allocations: 28.02 kB / 434.4 MB, free: 3.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.532e-06/0.1107, allocations: 0 / 434.4 MB, free: 3.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.95e-05/0.1107, allocations: 16 kB / 434.4 MB, free: 3.305 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002014/0.111, allocations: 3.938 kB / 434.4 MB, free: 3.301 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002089/0.1112, allocations: 118.7 kB / 434.6 MB, free: 3.156 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002444/0.1114, allocations: 0.677 MB / 435.2 MB, free: 2.453 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.058e-05/0.1115, allocations: 4.312 kB / 435.2 MB, free: 2.449 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.118e-05/0.1115, allocations: 11.44 kB / 435.2 MB, free: 2.438 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1115, allocations: 0 / 435.2 MB, free: 2.438 MB / 366.1 MB Notification: Performance of Templates: time 0.00201/0.1135, allocations: 438 kB / 435.7 MB, free: 2.012 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)