Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.Leakage.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.FluxTubes.Shapes.Leakage,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.Leakage") translateModel(ModelicaTest.FluxTubes.Shapes.Leakage,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.Leakage") [: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.002098/0.002098, allocations: 183.2 kB / 7.457 MB, free: 2.504 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.328/1.328, allocations: 194.2 MB / 202.1 MB, free: 8.656 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.001872/0.001871, allocations: 119.5 kB / 247.1 MB, free: 6.328 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.1802/0.1802, allocations: 39.94 MB / 331.9 MB, free: 4.914 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.362e-06/6.492e-06, allocations: 0 / 392.8 MB, free: 75.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09877/0.0988, allocations: 54.87 MB / 447.6 MB, free: 21.01 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3119/0.4108, allocations: 82.04 MB / 0.5173 GB, free: 10.39 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002346/0.4111, allocations: 67.95 kB / 0.5173 GB, free: 10.39 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01048/0.4216, allocations: 3.84 MB / 0.5211 GB, free: 9.445 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.378e-05/0.4216, allocations: 6.875 kB / 0.5211 GB, free: 9.445 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0007124/0.4223, allocations: 0.5192 MB / 0.5216 GB, free: 8.992 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.4224, allocations: 9.219 kB / 0.5216 GB, free: 8.992 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.115e-05/0.4225, allocations: 31.31 kB / 0.5216 GB, free: 8.977 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/0.4226, allocations: 195.4 kB / 0.5218 GB, free: 8.758 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.977e-05/0.4227, allocations: 17.19 kB / 0.5218 GB, free: 8.758 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.066e-05/0.4228, allocations: 21.84 kB / 0.5219 GB, free: 8.754 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003719/0.4232, allocations: 186.9 kB / 0.522 GB, free: 8.746 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003705/0.4235, allocations: 218 kB / 0.5222 GB, free: 8.684 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.4236, allocations: 0 / 0.5222 GB, free: 8.684 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.282e-05/0.4236, allocations: 4 kB / 0.5223 GB, free: 8.68 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.4236, allocations: 8.062 kB / 0.5223 GB, free: 8.68 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001502/0.4251, allocations: 0.9636 MB / 0.5232 GB, free: 8.141 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.949e-05/0.4252, allocations: 35.05 kB / 0.5232 GB, free: 8.109 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.284e-05/0.4253, allocations: 30.97 kB / 0.5233 GB, free: 8.094 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.428e-05/0.4253, allocations: 1.438 kB / 0.5233 GB, free: 8.094 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.483e-05/0.4253, allocations: 38.44 kB / 0.5233 GB, free: 8.051 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 1.302e-06/0.4253, allocations: 1.312 kB / 0.5233 GB, free: 8.051 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.000175/0.4255, allocations: 52.3 kB / 0.5234 GB, free: 8.012 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.88e-05/0.4255, allocations: 52.59 kB / 0.5234 GB, free: 7.949 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002229/0.4257, allocations: 230 kB / 0.5236 GB, free: 7.828 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.686e-06/0.4258, allocations: 25.7 kB / 0.5236 GB, free: 7.797 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.846e-05/0.4258, allocations: 237.6 kB / 0.5239 GB, free: 7.598 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.768e-06/0.4259, allocations: 9.219 kB / 0.5239 GB, free: 7.594 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.055e-05/0.4259, allocations: 0 / 0.5239 GB, free: 7.594 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.254e-05/0.4259, allocations: 328.1 kB / 0.5242 GB, free: 7.277 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.426e-05/0.426, allocations: 53.89 kB / 0.5242 GB, free: 7.273 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/0.4262, allocations: 76.03 kB / 0.5243 GB, free: 7.254 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001129/0.4263, allocations: 65.28 kB / 0.5244 GB, free: 7.242 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.4263, allocations: 1.594 kB / 0.5244 GB, free: 7.242 MB / 346.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002938/0.4266, allocations: 196.5 kB / 0.5246 GB, free: 7.184 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.4266, allocations: 5.188 kB / 0.5246 GB, free: 7.184 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.4266, allocations: 0 / 0.5246 GB, free: 7.184 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.4266, allocations: 2.062 kB / 0.5246 GB, free: 7.184 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003352/0.427, allocations: 59.14 kB / 0.5246 GB, free: 7.168 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.427, allocations: 5.594 kB / 0.5246 GB, free: 7.164 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002311/0.4272, allocations: 38.45 kB / 0.5247 GB, free: 7.137 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.831e-05/0.4273, allocations: 9.438 kB / 0.5247 GB, free: 7.137 MB / 346.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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 5.764e-05/0.4273, allocations: 106 kB / 0.5248 GB, free: 7.027 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.037e-05/0.4274, allocations: 19.17 kB / 0.5248 GB, free: 7.016 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.1e-05/0.4274, allocations: 19.98 kB / 0.5248 GB, free: 7.008 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.4274, allocations: 1.219 kB / 0.5248 GB, free: 7.008 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.4274, allocations: 3.906 kB / 0.5248 GB, free: 7.004 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.4274, allocations: 4 kB / 0.5248 GB, free: 7 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004496/0.4279, allocations: 476.2 kB / 0.5253 GB, free: 6.586 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.4279, allocations: 1.188 kB / 0.5253 GB, free: 6.586 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.967e-05/0.4279, allocations: 2 kB / 0.5253 GB, free: 6.586 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.4279, allocations: 1.219 kB / 0.5253 GB, free: 6.586 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.428, allocations: 1.062 kB / 0.5253 GB, free: 6.586 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.428, allocations: 1.25 kB / 0.5253 GB, free: 6.586 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.428, allocations: 8.047 kB / 0.5253 GB, free: 6.578 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001048/0.4281, allocations: 98.03 kB / 0.5254 GB, free: 6.484 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.937e-05/0.4281, allocations: 96.41 kB / 0.5255 GB, free: 6.379 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.554e-05/0.4282, allocations: 1.188 kB / 0.5255 GB, free: 6.379 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.4283, allocations: 6.156 kB / 0.5255 GB, free: 6.375 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.936e-05/0.4283, allocations: 13.08 kB / 0.5255 GB, free: 6.363 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-06/0.4283, allocations: 1.062 kB / 0.5255 GB, free: 6.363 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001405/0.4285, allocations: 174.3 kB / 0.5257 GB, free: 6.273 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002608/0.4287, allocations: 65.16 kB / 0.5257 GB, free: 6.262 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 7.67e-05/0.4288, allocations: 88.94 kB / 0.5258 GB, free: 6.176 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001885/0.429, allocations: 106.5 kB / 0.5259 GB, free: 6.168 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.429, allocations: 0 / 0.5259 GB, free: 6.168 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.994e-05/0.4291, allocations: 13.25 kB / 0.5259 GB, free: 6.164 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001831/0.4292, allocations: 21.16 kB / 0.526 GB, free: 6.156 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005167/0.4298, allocations: 231.7 kB / 0.5262 GB, free: 6.004 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000255/0.43, allocations: 0.7773 MB / 0.5269 GB, free: 5.258 MB / 346.7 MB Notification: Performance of SimCode: time 2.3e-07/0.43, allocations: 0 / 0.5269 GB, free: 5.258 MB / 346.7 MB Notification: Performance of Templates: time 0.004464/0.4345, allocations: 1.829 MB / 0.5287 GB, free: 4.352 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.Leakage.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.Leakage.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.Leakage.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.Leakage.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.Leakage.sim & ./ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.Leakage -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.Leakage.pipe 2>&1)