Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries") translateModel(Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries") [: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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.585/1.585, allocations: 285.5 MB / 292.8 MB, free: 10.52 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001168/0.001168, allocations: 181.3 kB / 361.1 MB, free: 7.113 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.412/1.412, allocations: 205.1 MB / 0.6195 GB, free: 10.34 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008729/0.0008728, allocations: 92.5 kB / 0.7326 GB, free: 44.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.638e-06/9.658e-06, allocations: 4 kB / 0.8511 GB, free: 3.023 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.703/0.703, allocations: 115.3 MB / 0.9637 GB, free: 78.51 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.502/5.205, allocations: 2.061 GB / 3.025 GB, free: 95.41 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002327/5.206, allocations: 83.95 kB / 3.025 GB, free: 95.33 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.853/9.058, allocations: 0.9589 GB / 3.984 GB, free: 248.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002037/9.058, allocations: 27.75 kB / 3.984 GB, free: 248.1 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.003176/9.062, allocations: 1.078 MB / 3.985 GB, free: 247 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.171e-05/9.062, allocations: 12.53 kB / 3.985 GB, free: 247 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001374/9.063, allocations: 186.5 kB / 3.985 GB, free: 246.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003061/9.066, allocations: 1.084 MB / 3.986 GB, free: 245.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.877e-05/9.066, allocations: 16 kB / 3.986 GB, free: 245.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001232/9.066, allocations: 36 kB / 3.986 GB, free: 245.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008102/9.067, allocations: 0.4939 MB / 3.987 GB, free: 245.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008772/9.068, allocations: 0.5746 MB / 3.988 GB, free: 244.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/9.068, allocations: 0 / 3.988 GB, free: 244.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.318e-05/9.068, allocations: 3.938 kB / 3.988 GB, free: 244.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.29e-05/9.068, allocations: 12 kB / 3.988 GB, free: 244.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004084/9.072, allocations: 3.325 MB / 3.991 GB, free: 241 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004799/9.073, allocations: 440.5 kB / 3.991 GB, free: 240.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002478/9.073, allocations: 251.7 kB / 3.991 GB, free: 240.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000272/9.073, allocations: 189.3 kB / 3.992 GB, free: 240.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/9.073, allocations: 38.8 kB / 3.992 GB, free: 240 MB / 0.948 GB Notification: Performance of pre-optimization done (n=28): time 1.814e-06/9.073, allocations: 0 / 3.992 GB, free: 240 MB / 0.948 GB Notification: Performance of matching and sorting (n=28): time 0.001915/9.075, allocations: 0.7556 MB / 3.992 GB, free: 239.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.096e-05/9.075, allocations: 59.34 kB / 3.992 GB, free: 239.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009792/9.076, allocations: 0.7942 MB / 3.993 GB, free: 238.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.453e-05/9.076, allocations: 25.7 kB / 3.993 GB, free: 238.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001606/9.076, allocations: 292.8 kB / 3.994 GB, free: 238.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.274e-05/9.077, allocations: 94.59 kB / 3.994 GB, free: 238 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.494e-05/9.077, allocations: 0 / 3.994 GB, free: 238 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.933e-05/9.077, allocations: 318 kB / 3.994 GB, free: 237.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001642/9.077, allocations: 139.9 kB / 3.994 GB, free: 237.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002821/9.077, allocations: 351.3 kB / 3.994 GB, free: 237.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002195/9.077, allocations: 193.7 kB / 3.995 GB, free: 236.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/9.077, allocations: 0 / 3.995 GB, free: 236.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001448/9.079, allocations: 0.7359 MB / 3.995 GB, free: 236.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001065/9.079, allocations: 367.9 kB / 3.996 GB, free: 235.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/9.079, allocations: 0 / 3.996 GB, free: 235.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004341/9.079, allocations: 221.7 kB / 3.996 GB, free: 235.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/9.08, allocations: 27.98 kB / 3.996 GB, free: 235.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00094/9.08, allocations: 1.137 MB / 3.997 GB, free: 234.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007824/9.081, allocations: 67.84 kB / 3.997 GB, free: 234.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.773e-05/9.081, allocations: 11.98 kB / 3.997 GB, free: 234.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.248e-06/9.081, allocations: 4 kB / 3.997 GB, free: 234.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008617/9.082, allocations: 450 kB / 3.998 GB, free: 233.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/9.082, allocations: 0 / 3.998 GB, free: 233.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005505/9.083, allocations: 203.6 kB / 3.998 GB, free: 233.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/9.083, allocations: 27.92 kB / 3.998 GB, free: 233.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003024/9.086, allocations: 2.762 MB / 4 GB, free: 230.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007548/9.087, allocations: 71.75 kB / 4 GB, free: 230.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.244e-05/9.087, allocations: 11.98 kB / 4.001 GB, free: 230.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * 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 19} Notification: Performance of prepare postOptimizeDAE: time 0.0001285/9.087, allocations: 105 kB / 4.001 GB, free: 230.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001655/9.087, allocations: 94.88 kB / 4.001 GB, free: 230.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001063/9.088, allocations: 0.6532 MB / 4.001 GB, free: 229.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/9.088, allocations: 0 / 4.001 GB, free: 229.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/9.088, allocations: 0 / 4.001 GB, free: 229.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/9.088, allocations: 7.938 kB / 4.001 GB, free: 229.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002333/9.09, allocations: 1.388 MB / 4.003 GB, free: 228.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/9.091, allocations: 0 / 4.003 GB, free: 228.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001188/9.091, allocations: 32.14 kB / 4.003 GB, free: 228.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003042/9.091, allocations: 192.8 kB / 4.003 GB, free: 228.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.239e-05/9.091, allocations: 4 kB / 4.003 GB, free: 228.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007216/9.092, allocations: 1.024 MB / 4.004 GB, free: 227.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/9.092, allocations: 7.938 kB / 4.004 GB, free: 227.1 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008704/9.093, allocations: 0.8277 MB / 4.005 GB, free: 226.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004549/9.093, allocations: 200 kB / 4.005 GB, free: 226 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001673/9.093, allocations: 3.984 kB / 4.005 GB, free: 226 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005806/9.094, allocations: 59.8 kB / 4.005 GB, free: 225.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.239e-05/9.094, allocations: 23.81 kB / 4.005 GB, free: 225.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.311e-05/9.094, allocations: 12 kB / 4.005 GB, free: 225.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0008278/9.095, allocations: 0.6318 MB / 4.006 GB, free: 225.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001635/9.096, allocations: 447.2 kB / 4.006 GB, free: 224.8 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * 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 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.00174/9.098, allocations: 1.03 MB / 4.007 GB, free: 223.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001182/9.099, allocations: 0.6871 MB / 4.008 GB, free: 223.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/9.099, allocations: 0 / 4.008 GB, free: 223.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002954/9.1, allocations: 186.3 kB / 4.008 GB, free: 223 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001651/9.101, allocations: 362.2 kB / 4.008 GB, free: 222.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002411/9.104, allocations: 1.354 MB / 4.01 GB, free: 221.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007743/9.105, allocations: 1.248 MB / 4.011 GB, free: 220 MB / 0.948 GB Notification: Performance of SimCode: time 2.204e-06/9.105, allocations: 3.938 kB / 4.011 GB, free: 220 MB / 0.948 GB Notification: Performance of Templates: time 0.03956/9.144, allocations: 21.81 MB / 4.032 GB, free: 198.4 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe 2>&1)