Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp") translateModel(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp") [: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/BuildingSystems 2.0.0-master/package.mo): time 0.7816/0.7816, allocations: 141.8 MB / 149.1 MB, free: 2.129 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 182.8 kB / 181.9 MB, free: 1.66 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 221.4 MB / 436 MB, free: 6.324 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 96.7 kB / 0.507 GB, free: 3 MB / 410.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001699/0.001699, allocations: 281.8 kB / 0.5885 GB, free: 47.96 MB / 410.9 MB Notification: Performance of FrontEnd - loaded program: time 1.009e-05/1.012e-05, allocations: 4 kB / 0.6759 GB, free: 6.34 MB / 458.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4118/0.4118, allocations: 82.77 MB / 0.7567 GB, free: 25.43 MB / 458.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.933/4.345, allocations: 1.831 GB / 2.588 GB, free: 183.9 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002789/4.345, allocations: 83.95 kB / 2.588 GB, free: 183.9 MB / 0.6982 GB Notification: Performance of FrontEnd: time 3.561/7.906, allocations: 0.981 GB / 3.569 GB, free: 194.3 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 9.591e-05/7.907, allocations: 32 kB / 3.569 GB, free: 194.3 MB / 0.6982 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.001913/7.908, allocations: 1.141 MB / 3.57 GB, free: 193.9 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/7.909, allocations: 7.906 kB / 3.57 GB, free: 193.9 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008396/7.909, allocations: 194.2 kB / 3.57 GB, free: 193.8 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002216/7.912, allocations: 1.112 MB / 3.572 GB, free: 193.5 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.665e-05/7.912, allocations: 15.66 kB / 3.572 GB, free: 193.5 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.519e-05/7.912, allocations: 35.16 kB / 3.572 GB, free: 193.5 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000685/7.912, allocations: 492.5 kB / 3.572 GB, free: 193.5 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007865/7.913, allocations: 0.6924 MB / 3.573 GB, free: 193.3 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/7.913, allocations: 2.531 kB / 3.573 GB, free: 193.3 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.527e-05/7.913, allocations: 3.938 kB / 3.573 GB, free: 193.3 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.537e-05/7.913, allocations: 10.19 kB / 3.573 GB, free: 193.3 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003697/7.917, allocations: 4.673 MB / 3.577 GB, free: 189.9 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000493/7.918, allocations: 447.5 kB / 3.578 GB, free: 189.8 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002618/7.918, allocations: 243.3 kB / 3.578 GB, free: 189.8 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003119/7.918, allocations: 200.9 kB / 3.578 GB, free: 189.6 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003/7.918, allocations: 264.6 kB / 3.578 GB, free: 189.6 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=31): time 2.034e-06/7.918, allocations: 0 / 3.578 GB, free: 189.6 MB / 0.6982 GB Notification: Performance of matching and sorting (n=31): time 0.001667/7.92, allocations: 0.7569 MB / 3.579 GB, free: 189.5 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/7.92, allocations: 92.25 kB / 3.579 GB, free: 189.4 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009335/7.921, allocations: 0.8744 MB / 3.58 GB, free: 189.2 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 3.942e-05/7.921, allocations: 29.5 kB / 3.58 GB, free: 189.2 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001786/7.921, allocations: 336.3 kB / 3.58 GB, free: 189.1 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 7.033e-05/7.921, allocations: 107 kB / 3.581 GB, free: 189 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.038e-05/7.921, allocations: 0 / 3.581 GB, free: 189 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 7.549e-05/7.922, allocations: 327.8 kB / 3.581 GB, free: 188.7 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002098/7.922, allocations: 188 kB / 3.581 GB, free: 188.7 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004016/7.922, allocations: 0.5028 MB / 3.582 GB, free: 188.3 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002914/7.922, allocations: 282.2 kB / 3.582 GB, free: 188.3 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/7.922, allocations: 3.812 kB / 3.582 GB, free: 188.3 MB / 0.6982 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001416/7.924, allocations: 0.8909 MB / 3.583 GB, free: 188.2 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004708/7.924, allocations: 2.105 MB / 3.585 GB, free: 186 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/7.924, allocations: 5.375 kB / 3.585 GB, free: 186 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004645/7.925, allocations: 254.6 kB / 3.585 GB, free: 186 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002334/7.925, allocations: 66.81 kB / 3.585 GB, free: 186 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001518/7.927, allocations: 1.25 MB / 3.586 GB, free: 185.5 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009981/7.928, allocations: 85.88 kB / 3.586 GB, free: 185.5 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-05/7.928, allocations: 25.03 kB / 3.586 GB, free: 185.5 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/7.928, allocations: 5.219 kB / 3.586 GB, free: 185.5 MB / 0.6982 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001014/7.929, allocations: 0.5755 MB / 3.587 GB, free: 185.5 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/7.929, allocations: 7.062 kB / 3.587 GB, free: 185.5 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005158/7.929, allocations: 209.9 kB / 3.587 GB, free: 185.5 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002055/7.93, allocations: 64.7 kB / 3.587 GB, free: 185.5 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002849/7.932, allocations: 2.746 MB / 3.59 GB, free: 184.1 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009163/7.933, allocations: 75.73 kB / 3.59 GB, free: 184.1 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-05/7.933, allocations: 19.38 kB / 3.59 GB, free: 184.1 MB / 0.6982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 1 * 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 {9 11} Notification: Performance of prepare postOptimizeDAE: time 0.0001934/7.934, allocations: 124 kB / 3.59 GB, free: 184 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000128/7.934, allocations: 102.1 kB / 3.59 GB, free: 184 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001143/7.935, allocations: 0.6618 MB / 3.591 GB, free: 183.9 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/7.935, allocations: 3.969 kB / 3.591 GB, free: 183.9 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/7.935, allocations: 3.625 kB / 3.591 GB, free: 183.9 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/7.935, allocations: 0 / 3.591 GB, free: 183.9 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002136/7.937, allocations: 1.485 MB / 3.592 GB, free: 183.5 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/7.937, allocations: 3.75 kB / 3.592 GB, free: 183.5 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001212/7.937, allocations: 31.23 kB / 3.592 GB, free: 183.5 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003553/7.938, allocations: 218.6 kB / 3.593 GB, free: 183.4 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.395e-05/7.938, allocations: 3.281 kB / 3.593 GB, free: 183.4 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009601/7.939, allocations: 1.095 MB / 3.594 GB, free: 182.9 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/7.939, allocations: 3.781 kB / 3.594 GB, free: 182.9 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008939/7.939, allocations: 0.8605 MB / 3.594 GB, free: 182.5 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003621/7.94, allocations: 215.4 kB / 3.595 GB, free: 182.4 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001239/7.94, allocations: 3.5 kB / 3.595 GB, free: 182.4 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005372/7.941, allocations: 54.11 kB / 3.595 GB, free: 182.4 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.648e-05/7.941, allocations: 29.88 kB / 3.595 GB, free: 182.4 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.427e-05/7.941, allocations: 10.47 kB / 3.595 GB, free: 182.4 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0007735/7.941, allocations: 0.6823 MB / 3.595 GB, free: 182.3 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.001636/7.943, allocations: 491.4 kB / 3.596 GB, free: 182.2 MB / 0.6982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {9 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.001528/7.945, allocations: 1.103 MB / 3.597 GB, free: 182 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.002219/7.947, allocations: 1.041 MB / 3.598 GB, free: 181.8 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/7.947, allocations: 0 / 3.598 GB, free: 181.8 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0004947/7.947, allocations: 257.4 kB / 3.598 GB, free: 181.8 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001908/7.949, allocations: 375.3 kB / 3.599 GB, free: 181.8 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00273/7.952, allocations: 1.396 MB / 3.6 GB, free: 181.4 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008289/7.953, allocations: 1.253 MB / 3.601 GB, free: 180.7 MB / 0.6982 GB Notification: Performance of SimCode: time 2.104e-06/7.953, allocations: 3.688 kB / 3.601 GB, free: 180.7 MB / 0.6982 GB Notification: Performance of Templates: time 0.03785/7.991, allocations: 23.05 MB / 3.624 GB, free: 180 MB / 0.6982 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1)