Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.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.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") [: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.003216/0.003216, allocations: 186 kB / 7.459 MB, free: 2.512 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.169/1.169, allocations: 194.2 MB / 202.1 MB, free: 8.68 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.001755/0.001755, allocations: 117.5 kB / 247.1 MB, free: 6.406 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.1812/0.1812, allocations: 39.95 MB / 331.9 MB, free: 4.961 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.915e-06/8.316e-06, allocations: 4 kB / 392.8 MB, free: 75.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1146, allocations: 54.88 MB / 447.7 MB, free: 20.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3449/0.4595, allocations: 78.96 MB / 0.5143 GB, free: 10.13 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002464/0.4598, allocations: 62.61 kB / 0.5143 GB, free: 10.13 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.009232/0.4691, allocations: 2.752 MB / 0.517 GB, free: 9.965 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.4691, allocations: 5.375 kB / 0.517 GB, free: 9.961 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0002711/0.4694, allocations: 361.7 kB / 0.5174 GB, free: 9.59 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.4695, allocations: 9.203 kB / 0.5174 GB, free: 9.59 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.414e-05/0.4695, allocations: 6.219 kB / 0.5174 GB, free: 9.586 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.4696, allocations: 166.9 kB / 0.5175 GB, free: 9.387 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.4696, allocations: 1.906 kB / 0.5175 GB, free: 9.387 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.85e-05/0.4697, allocations: 6.219 kB / 0.5175 GB, free: 9.387 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001278/0.4698, allocations: 41.06 kB / 0.5176 GB, free: 9.383 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000112/0.4699, allocations: 58.33 kB / 0.5176 GB, free: 9.348 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.47, allocations: 7.688 kB / 0.5176 GB, free: 9.344 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.47, allocations: 0 / 0.5176 GB, free: 9.344 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.47, allocations: 1.094 kB / 0.5176 GB, free: 9.344 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001611/0.4702, allocations: 153.9 kB / 0.5178 GB, free: 9.18 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001382/0.4703, allocations: 65.97 kB / 0.5179 GB, free: 9.164 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.294e-05/0.4704, allocations: 23.73 kB / 0.5179 GB, free: 9.156 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002733/0.4706, allocations: 115.1 kB / 0.518 GB, free: 9.059 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.4707, allocations: 32.97 kB / 0.518 GB, free: 9.02 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 2.264e-06/0.4707, allocations: 1.375 kB / 0.518 GB, free: 9.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=23): time 0.1211/0.5918, allocations: 5.2 MB / 0.5231 GB, free: 6.723 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.259e-05/0.5919, allocations: 57.91 kB / 0.5232 GB, free: 6.656 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.104e-05/0.5919, allocations: 90.91 kB / 0.5232 GB, free: 6.562 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.516e-05/0.592, allocations: 25.7 kB / 0.5233 GB, free: 6.531 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.614e-05/0.592, allocations: 81.27 kB / 0.5233 GB, free: 6.445 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.637e-05/0.5921, allocations: 72.41 kB / 0.5234 GB, free: 6.391 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.839e-05/0.5921, allocations: 0 / 0.5234 GB, free: 6.391 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.048e-05/0.5922, allocations: 321.8 kB / 0.5237 GB, free: 6.074 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001273/0.5923, allocations: 61.83 kB / 0.5238 GB, free: 6.07 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001218/0.5924, allocations: 69.3 kB / 0.5238 GB, free: 6.062 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/0.5935, allocations: 190.2 kB / 0.524 GB, free: 6 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.5935, allocations: 5.375 kB / 0.524 GB, free: 5.996 MB / 346.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001262/0.5947, allocations: 342.8 kB / 0.5244 GB, free: 5.879 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.5948, allocations: 5.062 kB / 0.5244 GB, free: 5.879 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.5948, allocations: 0 / 0.5244 GB, free: 5.879 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.781e-05/0.5948, allocations: 1.281 kB / 0.5244 GB, free: 5.879 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004885/0.5953, allocations: 103.5 kB / 0.5245 GB, free: 5.844 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.5953, allocations: 1.312 kB / 0.5245 GB, free: 5.844 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002392/0.5956, allocations: 35.97 kB / 0.5245 GB, free: 5.832 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.93e-05/0.5956, allocations: 19.08 kB / 0.5245 GB, free: 5.828 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 (23): * Single equations (assignments): 23 * 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 8.001e-05/0.5957, allocations: 101 kB / 0.5246 GB, free: 5.723 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.096e-05/0.5957, allocations: 8.219 kB / 0.5246 GB, free: 5.719 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001619/0.5974, allocations: 450.2 kB / 0.525 GB, free: 5.535 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.5974, allocations: 2 kB / 0.5251 GB, free: 5.535 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.5974, allocations: 1 kB / 0.5251 GB, free: 5.535 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.5974, allocations: 0 / 0.5251 GB, free: 5.535 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002446/0.5999, allocations: 0.7897 MB / 0.5258 GB, free: 5.055 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/0.5999, allocations: 5.312 kB / 0.5258 GB, free: 5.051 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003444/0.6002, allocations: 92.08 kB / 0.5259 GB, free: 5.027 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.6003, allocations: 5.156 kB / 0.5259 GB, free: 5.023 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.943e-05/0.6003, allocations: 15.77 kB / 0.5259 GB, free: 5.016 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-06/0.6003, allocations: 9.203 kB / 0.5259 GB, free: 5.008 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.6003, allocations: 1.344 kB / 0.5259 GB, free: 5.008 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001269/0.6016, allocations: 443.5 kB / 0.5264 GB, free: 4.734 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.59e-05/0.6016, allocations: 83.61 kB / 0.5264 GB, free: 4.637 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.904e-05/0.6017, allocations: 1.312 kB / 0.5264 GB, free: 4.637 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002384/0.6019, allocations: 37.84 kB / 0.5265 GB, free: 4.625 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.383e-05/0.602, allocations: 17.84 kB / 0.5265 GB, free: 4.617 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.425e-05/0.602, allocations: 9.938 kB / 0.5265 GB, free: 4.617 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.861e-05/0.6021, allocations: 80.27 kB / 0.5266 GB, free: 4.539 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00225/0.6043, allocations: 0.6062 MB / 0.5272 GB, free: 4.473 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * 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.002863/0.6072, allocations: 331.5 kB / 0.5275 GB, free: 4.27 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003522/0.6075, allocations: 163.5 kB / 0.5277 GB, free: 4.25 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.6076, allocations: 3.938 kB / 0.5277 GB, free: 4.246 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001383/0.6077, allocations: 83.38 kB / 0.5277 GB, free: 4.234 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001625/0.6079, allocations: 1.375 kB / 0.5277 GB, free: 4.234 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008525/0.6087, allocations: 268.6 kB / 0.528 GB, free: 4.098 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000322/0.6091, allocations: 0.7517 MB / 0.5287 GB, free: 3.367 MB / 346.7 MB Notification: Performance of SimCode: time 3.01e-07/0.6091, allocations: 0 / 0.5287 GB, free: 3.367 MB / 346.7 MB Notification: Performance of Templates: time 0.06486/0.6739, allocations: 48.17 MB / 0.5758 GB, free: 4.031 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1)