Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002953/0.002953, allocations: 189.5 kB / 7.457 MB, free: 2.242 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.229/1.229, allocations: 194.2 MB / 202.1 MB, free: 8.648 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001644/0.001644, allocations: 118.4 kB / 247.1 MB, free: 6.316 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1896/0.1896, allocations: 39.93 MB / 331.9 MB, free: 4.879 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.572e-06/6.602e-06, allocations: 0 / 392.8 MB, free: 75.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.114, allocations: 54.87 MB / 447.6 MB, free: 20.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3309/0.445, allocations: 78.86 MB / 0.5142 GB, free: 10.02 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002208/0.4452, allocations: 63.47 kB / 0.5142 GB, free: 10.02 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.008849/0.4541, allocations: 2.623 MB / 0.5168 GB, free: 9.863 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.4541, allocations: 1.438 kB / 0.5168 GB, free: 9.863 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003111/0.4545, allocations: 363.1 kB / 0.5171 GB, free: 9.492 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.614e-05/0.4545, allocations: 8.562 kB / 0.5171 GB, free: 9.492 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.674e-05/0.4546, allocations: 10.88 kB / 0.5171 GB, free: 9.484 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/0.4547, allocations: 169 kB / 0.5173 GB, free: 9.285 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.4547, allocations: 1.5 kB / 0.5173 GB, free: 9.285 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.834e-05/0.4547, allocations: 9.016 kB / 0.5173 GB, free: 9.281 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001107/0.4548, allocations: 22.09 kB / 0.5173 GB, free: 9.281 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.649e-05/0.455, allocations: 51.34 kB / 0.5174 GB, free: 9.246 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.455, allocations: 0.5625 kB / 0.5174 GB, free: 9.246 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.455, allocations: 1.594 kB / 0.5174 GB, free: 9.246 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.455, allocations: 1.344 kB / 0.5174 GB, free: 9.246 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001634/0.4552, allocations: 158.3 kB / 0.5175 GB, free: 9.074 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001987/0.4554, allocations: 43.55 kB / 0.5176 GB, free: 9.059 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.508e-05/0.4554, allocations: 22.3 kB / 0.5176 GB, free: 9.051 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002724/0.4557, allocations: 114.7 kB / 0.5177 GB, free: 8.953 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.819e-05/0.4557, allocations: 32.69 kB / 0.5177 GB, free: 8.914 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.774e-06/0.4558, allocations: 1.375 kB / 0.5177 GB, free: 8.914 MB / 346.7 MB Notification: Performance of matching and sorting (n=19): time 0.1284/0.5841, allocations: 5.431 MB / 0.5231 GB, free: 6.672 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/0.5842, allocations: 54.31 kB / 0.5231 GB, free: 6.609 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.932e-05/0.5843, allocations: 92.59 kB / 0.5232 GB, free: 6.516 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.967e-05/0.5843, allocations: 26.61 kB / 0.5232 GB, free: 6.484 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.726e-05/0.5844, allocations: 84.61 kB / 0.5233 GB, free: 6.402 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.012e-05/0.5845, allocations: 72.97 kB / 0.5234 GB, free: 6.344 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.92e-05/0.5845, allocations: 0 / 0.5234 GB, free: 6.344 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.816e-05/0.5846, allocations: 316.4 kB / 0.5237 GB, free: 6.031 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002815/0.5849, allocations: 164.3 kB / 0.5238 GB, free: 6.023 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000264/0.5851, allocations: 169.7 kB / 0.524 GB, free: 6.012 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001125/0.5863, allocations: 273.8 kB / 0.5242 GB, free: 5.953 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.5863, allocations: 1 kB / 0.5242 GB, free: 5.953 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001596/0.5879, allocations: 0.5159 MB / 0.5248 GB, free: 5.828 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/0.5879, allocations: 4.5 kB / 0.5248 GB, free: 5.828 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.5879, allocations: 4.969 kB / 0.5248 GB, free: 5.824 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.588, allocations: 1.219 kB / 0.5248 GB, free: 5.824 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005685/0.5885, allocations: 97.17 kB / 0.5249 GB, free: 5.793 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.5886, allocations: 5.094 kB / 0.5249 GB, free: 5.789 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000355/0.5889, allocations: 29.31 kB / 0.5249 GB, free: 5.777 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.176e-05/0.589, allocations: 22.47 kB / 0.5249 GB, free: 5.77 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * 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 0.0001228/0.5891, allocations: 106.2 kB / 0.525 GB, free: 5.66 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.978e-05/0.5892, allocations: 7.281 kB / 0.525 GB, free: 5.656 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00207/0.5913, allocations: 0.66 MB / 0.5257 GB, free: 5.453 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.5913, allocations: 1.438 kB / 0.5257 GB, free: 5.453 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.5913, allocations: 3.938 kB / 0.5257 GB, free: 5.449 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.5913, allocations: 5.688 kB / 0.5257 GB, free: 5.445 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003165/0.5945, allocations: 1.002 MB / 0.5267 GB, free: 4.832 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.5945, allocations: 1.188 kB / 0.5267 GB, free: 4.832 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004635/0.595, allocations: 87.88 kB / 0.5267 GB, free: 4.809 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-05/0.595, allocations: 7.375 kB / 0.5267 GB, free: 4.805 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.82e-05/0.595, allocations: 18.88 kB / 0.5268 GB, free: 4.797 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.219e-06/0.5951, allocations: 3 kB / 0.5268 GB, free: 4.797 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.957e-06/0.5951, allocations: 6.469 kB / 0.5268 GB, free: 4.793 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001458/0.5965, allocations: 0.5745 MB / 0.5273 GB, free: 4.426 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.148e-05/0.5966, allocations: 84.95 kB / 0.5274 GB, free: 4.328 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.69e-05/0.5966, allocations: 14.61 kB / 0.5274 GB, free: 4.316 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003239/0.597, allocations: 26.25 kB / 0.5275 GB, free: 4.309 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.332e-05/0.597, allocations: 18.55 kB / 0.5275 GB, free: 4.297 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.607e-05/0.5971, allocations: 29.97 kB / 0.5275 GB, free: 4.285 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.877e-05/0.5971, allocations: 79.22 kB / 0.5276 GB, free: 4.211 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002092/0.5992, allocations: 0.6229 MB / 0.5282 GB, free: 4.141 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.003579/0.6028, allocations: 326 kB / 0.5285 GB, free: 3.949 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006674/0.6035, allocations: 318.2 kB / 0.5288 GB, free: 3.922 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.6035, allocations: 1.5 kB / 0.5288 GB, free: 3.922 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002529/0.6037, allocations: 143.4 kB / 0.5289 GB, free: 3.895 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002171/0.604, allocations: 3.875 kB / 0.5289 GB, free: 3.895 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001836/0.6058, allocations: 417 kB / 0.5293 GB, free: 3.688 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004536/0.6063, allocations: 0.7639 MB / 0.5301 GB, free: 2.953 MB / 346.7 MB Notification: Performance of SimCode: time 1.012e-06/0.6063, allocations: 0 / 0.5301 GB, free: 2.953 MB / 346.7 MB Notification: Performance of Templates: time 0.06257/0.6689, allocations: 49.5 MB / 0.5784 GB, free: 1.859 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1)