Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases") translateModel(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases") [: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.1+maint.om/package.mo): time 0.002491/0.002491, allocations: 175.4 kB / 7.451 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.271/1.271, allocations: 170.6 MB / 178.4 MB, free: 15.46 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001672/0.001672, allocations: 113 kB / 217.7 MB, free: 8.223 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1817/0.1817, allocations: 37.98 MB / 294.8 MB, free: 9.621 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.756e-06/8.786e-06, allocations: 1.125 kB / 349.5 MB, free: 37.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1214, allocations: 48.71 MB / 398.2 MB, free: 5.66 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.863/0.9846, allocations: 326 MB / 0.7073 GB, free: 66.29 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000354/0.985, allocations: 84.25 kB / 0.7074 GB, free: 66.24 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.752/2.737, allocations: 447 MB / 1.144 GB, free: 41.36 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002124/2.737, allocations: 40.73 kB / 1.144 GB, free: 41.36 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.007059/2.744, allocations: 1.933 MB / 1.146 GB, free: 40.53 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/2.744, allocations: 7.906 kB / 1.146 GB, free: 40.53 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001984/2.746, allocations: 235.7 kB / 1.146 GB, free: 40.44 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002971/2.749, allocations: 1.189 MB / 1.147 GB, free: 40.08 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.366e-05/2.749, allocations: 43.42 kB / 1.147 GB, free: 40.08 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003016/2.75, allocations: 74.62 kB / 1.147 GB, free: 40.08 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002552/2.752, allocations: 1.383 MB / 1.149 GB, free: 40.07 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002456/2.755, allocations: 1.594 MB / 1.15 GB, free: 39.56 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.564e-05/2.755, allocations: 6.812 kB / 1.15 GB, free: 39.56 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002365/2.755, allocations: 7.281 kB / 1.15 GB, free: 39.56 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.645e-05/2.755, allocations: 34.22 kB / 1.15 GB, free: 39.56 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00981/2.765, allocations: 10.92 MB / 1.161 GB, free: 31.37 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006809/2.766, allocations: 0.4922 MB / 1.161 GB, free: 31.34 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004346/2.766, allocations: 285 kB / 1.162 GB, free: 31.34 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004586/2.771, allocations: 4.294 MB / 1.166 GB, free: 27.87 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.84e-05/2.771, allocations: 44.28 kB / 1.166 GB, free: 27.83 MB / 442.7 MB Notification: Performance of pre-optimization done (n=41): time 1.954e-06/2.771, allocations: 0 / 1.166 GB, free: 27.83 MB / 442.7 MB Notification: Performance of matching and sorting (n=41): time 0.004689/2.775, allocations: 0.9982 MB / 1.167 GB, free: 27.72 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.772e-05/2.775, allocations: 368 kB / 1.167 GB, free: 27.28 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001505/2.777, allocations: 1.022 MB / 1.168 GB, free: 27.09 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.392e-05/2.777, allocations: 25.7 kB / 1.168 GB, free: 27.06 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004748/2.778, allocations: 0.831 MB / 1.169 GB, free: 26.51 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001895/2.778, allocations: 163.8 kB / 1.169 GB, free: 26.42 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.221e-05/2.778, allocations: 2.156 kB / 1.169 GB, free: 26.42 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.369e-05/2.778, allocations: 369.2 kB / 1.17 GB, free: 26.12 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003932/2.778, allocations: 237.8 kB / 1.17 GB, free: 26.11 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000824/2.779, allocations: 1.308 MB / 1.171 GB, free: 24.72 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004096/2.783, allocations: 1.012 MB / 1.172 GB, free: 24.71 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.435e-05/2.783, allocations: 10.25 kB / 1.172 GB, free: 24.71 MB / 442.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.005941/2.789, allocations: 1.872 MB / 1.174 GB, free: 24.6 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/2.789, allocations: 2.781 kB / 1.174 GB, free: 24.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-05/2.789, allocations: 36.41 kB / 1.174 GB, free: 24.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.511e-05/2.789, allocations: 51.03 kB / 1.174 GB, free: 24.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004126/2.794, allocations: 0.7127 MB / 1.175 GB, free: 24.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001498/2.795, allocations: 1.949 MB / 1.177 GB, free: 22.84 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002222/2.797, allocations: 239 kB / 1.177 GB, free: 22.74 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002608/2.798, allocations: 110.2 kB / 1.177 GB, free: 22.74 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 163 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (203): * Single equations (assignments): 200 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003683/2.798, allocations: 199.1 kB / 1.177 GB, free: 22.61 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000384/2.798, allocations: 140.4 kB / 1.177 GB, free: 22.54 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004646/2.803, allocations: 1.791 MB / 1.179 GB, free: 22.41 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.588e-05/2.803, allocations: 13.05 kB / 1.179 GB, free: 22.41 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/2.803, allocations: 3.25 kB / 1.179 GB, free: 22.41 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/2.803, allocations: 3.562 kB / 1.179 GB, free: 22.41 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001929/2.805, allocations: 0.8296 MB / 1.18 GB, free: 22.22 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.435e-06/2.805, allocations: 0 / 1.18 GB, free: 22.22 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009286/2.806, allocations: 209 kB / 1.18 GB, free: 22.22 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002534/2.806, allocations: 38.47 kB / 1.18 GB, free: 22.21 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.927e-05/2.806, allocations: 14.27 kB / 1.18 GB, free: 22.21 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009581/2.807, allocations: 1.806 MB / 1.182 GB, free: 20.52 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/2.807, allocations: 0 / 1.182 GB, free: 20.52 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002399/2.81, allocations: 1.022 MB / 1.183 GB, free: 20.29 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007703/2.81, allocations: 345.1 kB / 1.183 GB, free: 20.11 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003819/2.811, allocations: 0 / 1.183 GB, free: 20.11 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008148/2.812, allocations: 47.11 kB / 1.183 GB, free: 20.1 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.023e-05/2.812, allocations: 37.97 kB / 1.183 GB, free: 20.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.687e-05/2.812, allocations: 31.33 kB / 1.183 GB, free: 20.1 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.00101/2.813, allocations: 0.7639 MB / 1.184 GB, free: 19.99 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002961/2.816, allocations: 0.7601 MB / 1.185 GB, free: 19.84 MB / 442.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002507/2.818, allocations: 1.105 MB / 1.186 GB, free: 19.55 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00593/2.824, allocations: 1.194 MB / 1.187 GB, free: 19.54 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.043e-05/2.824, allocations: 7.75 kB / 1.187 GB, free: 19.54 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001152/2.826, allocations: 372.7 kB / 1.187 GB, free: 19.54 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00336/2.829, allocations: 0.511 MB / 1.188 GB, free: 19.51 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005173/2.834, allocations: 2.001 MB / 1.19 GB, free: 19.01 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001481/2.836, allocations: 1.449 MB / 1.191 GB, free: 18.29 MB / 442.7 MB Notification: Performance of SimCode: time 2.475e-06/2.836, allocations: 0 / 1.191 GB, free: 18.29 MB / 442.7 MB Notification: Performance of Templates: time 0.05292/2.889, allocations: 29.93 MB / 1.221 GB, free: 15.98 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.pipe 2>&1)