Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlow.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.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlow") translateModel(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlow") [: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.7962/0.7962, allocations: 141.8 MB / 149.1 MB, free: 13.68 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00132/0.001321, allocations: 185.3 kB / 182 MB, free: 10.3 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.619/1.619, allocations: 221.3 MB / 436 MB, free: 2.898 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.001066/0.001066, allocations: 100.7 kB / 0.507 GB, free: 17.9 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001959/0.001959, allocations: 264.8 kB / 0.5885 GB, free: 4.312 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 1.04e-05/1.042e-05, allocations: 2.844 kB / 0.6759 GB, free: 137.2 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2049/0.205, allocations: 82.77 MB / 0.7568 GB, free: 84.16 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.369/4.574, allocations: 1.829 GB / 2.586 GB, free: 177.9 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002458/4.575, allocations: 95.47 kB / 2.586 GB, free: 177.8 MB / 0.6982 GB Notification: Performance of FrontEnd: time 3.341/7.915, allocations: 0.9688 GB / 3.554 GB, free: 192.7 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 0.0001282/7.916, allocations: 27.84 kB / 3.554 GB, free: 192.7 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001919/7.918, allocations: 1.127 MB / 3.556 GB, free: 192.3 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/7.918, allocations: 10.69 kB / 3.556 GB, free: 192.3 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008912/7.919, allocations: 194.1 kB / 3.556 GB, free: 192.2 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002138/7.921, allocations: 1.091 MB / 3.557 GB, free: 191.9 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/7.921, allocations: 15.47 kB / 3.557 GB, free: 191.9 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.899e-05/7.921, allocations: 38.19 kB / 3.557 GB, free: 191.9 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007113/7.922, allocations: 495.5 kB / 3.557 GB, free: 191.9 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007923/7.922, allocations: 0.6908 MB / 3.558 GB, free: 191.7 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.775e-05/7.922, allocations: 5.656 kB / 3.558 GB, free: 191.7 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.181e-05/7.922, allocations: 3.125 kB / 3.558 GB, free: 191.7 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.412e-05/7.922, allocations: 12.62 kB / 3.558 GB, free: 191.7 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003658/7.926, allocations: 4.673 MB / 3.563 GB, free: 188.2 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005334/7.927, allocations: 451.9 kB / 3.563 GB, free: 188.2 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002806/7.927, allocations: 249.2 kB / 3.563 GB, free: 188.2 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003146/7.927, allocations: 194.8 kB / 3.563 GB, free: 188 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003354/7.928, allocations: 262.3 kB / 3.564 GB, free: 187.9 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=31): time 2.274e-06/7.928, allocations: 3.812 kB / 3.564 GB, free: 187.9 MB / 0.6982 GB Notification: Performance of matching and sorting (n=31): time 0.001001/7.929, allocations: 0.4933 MB / 3.564 GB, free: 187.9 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/7.929, allocations: 88.84 kB / 3.564 GB, free: 187.8 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/7.93, allocations: 0.871 MB / 3.565 GB, free: 187.6 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 4.07e-05/7.93, allocations: 31.89 kB / 3.565 GB, free: 187.6 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002067/7.93, allocations: 341.6 kB / 3.565 GB, free: 187.4 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 8.247e-05/7.93, allocations: 102.6 kB / 3.566 GB, free: 187.4 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.027e-05/7.93, allocations: 0 / 3.566 GB, free: 187.4 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 8.176e-05/7.93, allocations: 326.8 kB / 3.566 GB, free: 187.1 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002196/7.93, allocations: 191.9 kB / 3.566 GB, free: 187.1 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003949/7.931, allocations: 0.4957 MB / 3.567 GB, free: 186.7 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000315/7.931, allocations: 286.3 kB / 3.567 GB, free: 186.7 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/7.931, allocations: 2.844 kB / 3.567 GB, free: 186.7 MB / 0.6982 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008192/7.932, allocations: 0.6221 MB / 3.567 GB, free: 186.6 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004515/7.932, allocations: 2.095 MB / 3.569 GB, free: 184.4 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/7.932, allocations: 3.969 kB / 3.569 GB, free: 184.4 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.392e-05/7.932, allocations: 13.25 kB / 3.569 GB, free: 184.4 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001685/7.934, allocations: 281 kB / 3.57 GB, free: 184.4 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002618/7.937, allocations: 6.231 MB / 3.576 GB, free: 178.6 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009764/7.938, allocations: 87.67 kB / 3.576 GB, free: 178.6 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.64e-05/7.938, allocations: 28.86 kB / 3.576 GB, free: 178.6 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/7.938, allocations: 5.844 kB / 3.576 GB, free: 178.6 MB / 0.6982 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005627/7.938, allocations: 414 kB / 3.576 GB, free: 178.6 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/7.938, allocations: 10.91 kB / 3.576 GB, free: 178.6 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.477e-06/7.938, allocations: 7.875 kB / 3.576 GB, free: 178.6 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000539/7.939, allocations: 149.3 kB / 3.577 GB, free: 178.6 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/7.939, allocations: 18.56 kB / 3.577 GB, free: 178.6 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007226/7.94, allocations: 74.62 kB / 3.577 GB, free: 178.6 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.054e-05/7.94, allocations: 26.69 kB / 3.577 GB, free: 178.6 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 (53): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * 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: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001429/7.94, allocations: 128.9 kB / 3.577 GB, free: 178.5 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/7.94, allocations: 101.1 kB / 3.577 GB, free: 178.4 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007145/7.941, allocations: 456.4 kB / 3.577 GB, free: 178.4 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/7.941, allocations: 7.375 kB / 3.577 GB, free: 178.4 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/7.941, allocations: 0 / 3.577 GB, free: 178.4 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/7.941, allocations: 3.891 kB / 3.577 GB, free: 178.4 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001617/7.942, allocations: 1.272 MB / 3.579 GB, free: 177.9 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/7.942, allocations: 5.812 kB / 3.579 GB, free: 177.9 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006599/7.943, allocations: 158.9 kB / 3.579 GB, free: 177.9 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/7.943, allocations: 6.625 kB / 3.579 GB, free: 177.9 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.162e-05/7.943, allocations: 3.219 kB / 3.579 GB, free: 177.9 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001959/7.945, allocations: 6.086 MB / 3.585 GB, free: 172.1 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/7.945, allocations: 3.562 kB / 3.585 GB, free: 172.1 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006818/7.946, allocations: 0.6451 MB / 3.585 GB, free: 171.7 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003605/7.946, allocations: 214.3 kB / 3.585 GB, free: 171.6 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001316/7.946, allocations: 10.16 kB / 3.585 GB, free: 171.6 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005101/7.947, allocations: 50.33 kB / 3.586 GB, free: 171.6 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.263e-05/7.947, allocations: 26.03 kB / 3.586 GB, free: 171.6 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.851e-05/7.947, allocations: 13.47 kB / 3.586 GB, free: 171.6 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0009116/7.948, allocations: 0.6842 MB / 3.586 GB, free: 171.5 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.001581/7.95, allocations: 456 kB / 3.587 GB, free: 171.5 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 (31): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * 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: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001336/7.951, allocations: 1.043 MB / 3.588 GB, free: 171.3 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.002824/7.954, allocations: 0.9525 MB / 3.589 GB, free: 171.2 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/7.954, allocations: 0 / 3.589 GB, free: 171.2 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0007586/7.954, allocations: 287.7 kB / 3.589 GB, free: 171.2 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001812/7.956, allocations: 369.1 kB / 3.589 GB, free: 171.2 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002307/7.959, allocations: 1.383 MB / 3.591 GB, free: 170.8 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006542/7.959, allocations: 1.266 MB / 3.592 GB, free: 170.1 MB / 0.6982 GB Notification: Performance of SimCode: time 7.81e-07/7.959, allocations: 3.188 kB / 3.592 GB, free: 170.1 MB / 0.6982 GB Notification: Performance of Templates: time 0.03657/7.996, allocations: 21.96 MB / 3.613 GB, free: 169.7 MB / 0.6982 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlow.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1)