Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.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.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice") translateModel(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice") [: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.003498/0.003498, allocations: 171.6 kB / 7.446 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.202/1.202, allocations: 170.6 MB / 178.4 MB, free: 15.38 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.001629/0.001629, allocations: 119.8 kB / 217.7 MB, free: 8.141 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.1798/0.1798, allocations: 37.98 MB / 294.8 MB, free: 9.609 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.247e-06/9.277e-06, allocations: 1.531 kB / 349.5 MB, free: 37.04 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1254, allocations: 48.71 MB / 398.2 MB, free: 5.66 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.666/1.791, allocations: 0.5804 GB / 0.9693 GB, free: 140 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002984/1.792, allocations: 86.27 kB / 0.9694 GB, free: 140 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.8026/2.594, allocations: 264.2 MB / 1.227 GB, free: 38.66 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.143e-05/2.594, allocations: 19.62 kB / 1.227 GB, free: 38.64 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.003561/2.598, allocations: 1.204 MB / 1.229 GB, free: 37.4 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/2.598, allocations: 8.031 kB / 1.229 GB, free: 37.39 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001525/2.6, allocations: 155 kB / 1.229 GB, free: 37.24 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001129/2.601, allocations: 0.5304 MB / 1.229 GB, free: 36.68 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.627e-05/2.601, allocations: 12 kB / 1.229 GB, free: 36.66 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/2.601, allocations: 31.98 kB / 1.229 GB, free: 36.63 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007628/2.602, allocations: 425.9 kB / 1.23 GB, free: 36.22 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008027/2.602, allocations: 0.533 MB / 1.23 GB, free: 35.64 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/2.602, allocations: 4 kB / 1.23 GB, free: 35.63 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.923e-05/2.603, allocations: 0 / 1.23 GB, free: 35.63 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.615e-05/2.603, allocations: 19.91 kB / 1.23 GB, free: 35.61 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002946/2.606, allocations: 2.617 MB / 1.233 GB, free: 32.84 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003128/2.606, allocations: 206.8 kB / 1.233 GB, free: 32.63 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001699/2.606, allocations: 128.8 kB / 1.233 GB, free: 32.5 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003161/2.606, allocations: 325.1 kB / 1.233 GB, free: 32.14 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/2.606, allocations: 38.56 kB / 1.233 GB, free: 32.09 MB / 426.7 MB Notification: Performance of pre-optimization done (n=31): time 2.925e-06/2.606, allocations: 0 / 1.233 GB, free: 32.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=31): time 0.002684/2.609, allocations: 0.8217 MB / 1.234 GB, free: 31.26 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.918e-05/2.609, allocations: 166.2 kB / 1.234 GB, free: 31.06 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004164/2.61, allocations: 389.1 kB / 1.235 GB, free: 30.67 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.32e-05/2.61, allocations: 25.7 kB / 1.235 GB, free: 30.64 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/2.61, allocations: 283 kB / 1.235 GB, free: 30.36 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.657e-05/2.61, allocations: 102.5 kB / 1.235 GB, free: 30.25 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.529e-05/2.61, allocations: 0 / 1.235 GB, free: 30.25 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.572e-05/2.61, allocations: 358.8 kB / 1.236 GB, free: 29.89 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001807/2.61, allocations: 125.3 kB / 1.236 GB, free: 29.77 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002506/2.61, allocations: 342.3 kB / 1.236 GB, free: 29.34 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002187/2.613, allocations: 0.6651 MB / 1.237 GB, free: 28.67 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/2.613, allocations: 3.938 kB / 1.237 GB, free: 28.67 MB / 426.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002711/2.615, allocations: 1.004 MB / 1.238 GB, free: 27.65 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/2.615, allocations: 4.875 kB / 1.238 GB, free: 27.65 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/2.615, allocations: 8 kB / 1.238 GB, free: 27.64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002301/2.616, allocations: 56.83 kB / 1.238 GB, free: 27.58 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003666/2.616, allocations: 127.8 kB / 1.238 GB, free: 27.46 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004857/2.616, allocations: 0.6146 MB / 1.238 GB, free: 26.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004716/2.617, allocations: 59.56 kB / 1.238 GB, free: 26.76 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.566e-05/2.617, allocations: 59.92 kB / 1.239 GB, free: 26.7 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0001219/2.617, allocations: 128.7 kB / 1.239 GB, free: 26.57 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/2.617, allocations: 47.44 kB / 1.239 GB, free: 26.52 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001857/2.619, allocations: 0.7163 MB / 1.239 GB, free: 25.8 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/2.619, allocations: 3.938 kB / 1.239 GB, free: 25.8 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/2.619, allocations: 0 / 1.239 GB, free: 25.8 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.299e-06/2.619, allocations: 4 kB / 1.239 GB, free: 25.79 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001824/2.621, allocations: 1.132 MB / 1.241 GB, free: 24.56 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/2.621, allocations: 4 kB / 1.241 GB, free: 24.56 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001782/2.621, allocations: 51.91 kB / 1.241 GB, free: 24.51 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001374/2.621, allocations: 49 kB / 1.241 GB, free: 24.46 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.276e-05/2.621, allocations: 11.98 kB / 1.241 GB, free: 24.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004076/2.622, allocations: 0.5991 MB / 1.241 GB, free: 23.82 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/2.622, allocations: 7.938 kB / 1.241 GB, free: 23.81 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00108/2.623, allocations: 0.6492 MB / 1.242 GB, free: 23.07 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000233/2.623, allocations: 188.3 kB / 1.242 GB, free: 22.86 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001248/2.623, allocations: 7.984 kB / 1.242 GB, free: 22.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003314/2.624, allocations: 23.89 kB / 1.242 GB, free: 22.83 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.074e-05/2.624, allocations: 27.91 kB / 1.242 GB, free: 22.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-05/2.624, allocations: 8 kB / 1.242 GB, free: 22.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0003055/2.624, allocations: 322.9 kB / 1.242 GB, free: 22.48 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001455/2.625, allocations: 407.3 kB / 1.243 GB, free: 22.09 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002884/2.628, allocations: 1.466 MB / 1.244 GB, free: 20.77 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001009/2.629, allocations: 326 kB / 1.245 GB, free: 20.45 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.802e-06/2.629, allocations: 4.375 kB / 1.245 GB, free: 20.45 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002676/2.63, allocations: 119.8 kB / 1.245 GB, free: 20.33 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001704/2.631, allocations: 238.9 kB / 1.245 GB, free: 20.09 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007176/2.639, allocations: 2.439 MB / 1.247 GB, free: 17.66 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009005/2.64, allocations: 0.9988 MB / 1.248 GB, free: 16.63 MB / 426.7 MB Notification: Performance of SimCode: time 8.92e-07/2.64, allocations: 0 / 1.248 GB, free: 16.63 MB / 426.7 MB Notification: Performance of Templates: time 0.2226/2.862, allocations: 18.32 MB / 1.266 GB, free: 101.2 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1)