Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDp.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDp") translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDp") [: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 4.0.0+maint.om/package.mo): time 0.001749/0.001749, allocations: 192.2 kB / 7.807 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4772/0.4772, allocations: 90.85 MB / 99.08 MB, free: 14.95 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.229/1.229, allocations: 221.4 MB / 342.8 MB, free: 5.266 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000947/0.0009466, allocations: 97.25 kB / 415.5 MB, free: 6.473 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 7.163e-06/7.193e-06, allocations: 0 / 493.9 MB, free: 8.105 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4589/0.4589, allocations: 72.3 MB / 0.5529 GB, free: 73.43 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.444/3.903, allocations: 1.824 GB / 2.377 GB, free: 238.6 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002567/3.903, allocations: 90.91 kB / 2.377 GB, free: 238.6 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.115/7.018, allocations: 0.9805 GB / 3.358 GB, free: 163.1 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001401/7.018, allocations: 34.53 kB / 3.358 GB, free: 163.1 MB / 0.6042 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.004121/7.022, allocations: 1.197 MB / 3.359 GB, free: 162.6 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/7.022, allocations: 7.5 kB / 3.359 GB, free: 162.6 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00116/7.023, allocations: 194 kB / 3.359 GB, free: 162.5 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004654/7.028, allocations: 1.39 MB / 3.361 GB, free: 162.2 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.446e-05/7.028, allocations: 19.34 kB / 3.361 GB, free: 162.2 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001537/7.028, allocations: 38.5 kB / 3.361 GB, free: 162.2 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008834/7.029, allocations: 0.5035 MB / 3.361 GB, free: 162.2 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001003/7.03, allocations: 0.7067 MB / 3.362 GB, free: 162 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.27e-05/7.03, allocations: 11.03 kB / 3.362 GB, free: 162 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.984e-05/7.03, allocations: 1.844 kB / 3.362 GB, free: 162 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.268e-05/7.03, allocations: 14.31 kB / 3.362 GB, free: 162 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004398/7.035, allocations: 4.157 MB / 3.366 GB, free: 159.2 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000533/7.035, allocations: 460.2 kB / 3.366 GB, free: 159.1 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003403/7.036, allocations: 326.3 kB / 3.367 GB, free: 159.1 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003048/7.036, allocations: 193.2 kB / 3.367 GB, free: 158.9 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003175/7.036, allocations: 284.5 kB / 3.367 GB, free: 158.9 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=33): time 3.166e-06/7.036, allocations: 0 / 3.367 GB, free: 158.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33): time 0.001169/7.037, allocations: 0.5233 MB / 3.368 GB, free: 158.8 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.557e-05/7.037, allocations: 85.08 kB / 3.368 GB, free: 158.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001238/7.039, allocations: 0.8824 MB / 3.369 GB, free: 158.5 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.962e-05/7.039, allocations: 28.45 kB / 3.369 GB, free: 158.5 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002638/7.039, allocations: 326.9 kB / 3.369 GB, free: 158.4 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.99e-05/7.039, allocations: 110.8 kB / 3.369 GB, free: 158.3 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.338e-05/7.039, allocations: 5.75 kB / 3.369 GB, free: 158.3 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.149e-05/7.039, allocations: 328.8 kB / 3.369 GB, free: 158 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000259/7.04, allocations: 202.5 kB / 3.37 GB, free: 158 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004494/7.04, allocations: 0.5157 MB / 3.37 GB, free: 157.6 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003859/7.04, allocations: 286.5 kB / 3.37 GB, free: 157.6 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/7.04, allocations: 0 / 3.37 GB, free: 157.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001126/7.042, allocations: 0.6514 MB / 3.371 GB, free: 157.6 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005056/7.042, allocations: 2.092 MB / 3.373 GB, free: 155.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/7.042, allocations: 8.844 kB / 3.373 GB, free: 155.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.743e-05/7.042, allocations: 10.81 kB / 3.373 GB, free: 155.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001917/7.044, allocations: 304.2 kB / 3.373 GB, free: 155.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002996/7.047, allocations: 6.236 MB / 3.379 GB, free: 149.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00112/7.048, allocations: 104.8 kB / 3.379 GB, free: 149.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.335e-05/7.048, allocations: 30.72 kB / 3.379 GB, free: 149.5 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/7.048, allocations: 5.719 kB / 3.379 GB, free: 149.5 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005821/7.049, allocations: 443.7 kB / 3.38 GB, free: 149.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/7.049, allocations: 6.719 kB / 3.38 GB, free: 149.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/7.049, allocations: 11.66 kB / 3.38 GB, free: 149.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006259/7.05, allocations: 150.2 kB / 3.38 GB, free: 149.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/7.05, allocations: 13.94 kB / 3.38 GB, free: 149.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008138/7.05, allocations: 98.31 kB / 3.38 GB, free: 149.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.849e-05/7.05, allocations: 20.5 kB / 3.38 GB, free: 149.5 MB / 0.6042 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 (55): * Single equations (assignments): 44 * 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.0001378/7.051, allocations: 131.7 kB / 3.38 GB, free: 149.4 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/7.051, allocations: 96.38 kB / 3.38 GB, free: 149.3 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007211/7.051, allocations: 486.7 kB / 3.381 GB, free: 149.3 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.401e-06/7.051, allocations: 3.625 kB / 3.381 GB, free: 149.3 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/7.051, allocations: 3.688 kB / 3.381 GB, free: 149.3 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/7.051, allocations: 0 / 3.381 GB, free: 149.3 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001686/7.053, allocations: 1.361 MB / 3.382 GB, free: 148.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/7.053, allocations: 3.156 kB / 3.382 GB, free: 148.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000712/7.054, allocations: 164.4 kB / 3.382 GB, free: 148.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.253e-06/7.054, allocations: 7.547 kB / 3.382 GB, free: 148.9 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.414e-05/7.054, allocations: 3.875 kB / 3.382 GB, free: 148.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002022/7.056, allocations: 6.084 MB / 3.388 GB, free: 143 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.78e-06/7.056, allocations: 5.875 kB / 3.388 GB, free: 143 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006247/7.057, allocations: 0.6754 MB / 3.389 GB, free: 142.6 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003166/7.057, allocations: 217.6 kB / 3.389 GB, free: 142.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001357/7.057, allocations: 0 / 3.389 GB, free: 142.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006995/7.058, allocations: 70.94 kB / 3.389 GB, free: 142.5 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.87e-05/7.058, allocations: 34.11 kB / 3.389 GB, free: 142.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.004e-05/7.058, allocations: 14.59 kB / 3.389 GB, free: 142.5 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0006998/7.059, allocations: 0.6893 MB / 3.39 GB, free: 142.4 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001341/7.06, allocations: 470.6 kB / 3.39 GB, free: 142.4 MB / 0.6042 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 (33): * Single equations (assignments): 21 * 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.001295/7.061, allocations: 1.1 MB / 3.392 GB, free: 142.2 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002918/7.064, allocations: 1.022 MB / 3.393 GB, free: 142.1 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/7.064, allocations: 0 / 3.393 GB, free: 142.1 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007819/7.065, allocations: 301.6 kB / 3.393 GB, free: 142.1 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00267/7.068, allocations: 0.5282 MB / 3.393 GB, free: 142.1 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002756/7.07, allocations: 1.409 MB / 3.395 GB, free: 141.7 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009377/7.071, allocations: 1.276 MB / 3.396 GB, free: 141 MB / 0.6042 GB Notification: Performance of SimCode: time 1.012e-06/7.071, allocations: 0 / 3.396 GB, free: 141 MB / 0.6042 GB Notification: Performance of Templates: time 0.03929/7.111, allocations: 24.14 MB / 3.42 GB, free: 124.6 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDp.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDp.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDp -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe 2>&1)