Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.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.SeriesParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") [: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.001167/0.001167, allocations: 185.2 kB / 7.804 MB, free: 2.234 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4494/0.4494, allocations: 90.86 MB / 99.07 MB, free: 14.93 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.244/1.244, allocations: 221.4 MB / 342.8 MB, free: 5.199 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.001029/0.00103, allocations: 91.88 kB / 415.5 MB, free: 6.434 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 7.083e-06/7.424e-06, allocations: 0 / 493.9 MB, free: 8.074 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3597/0.3597, allocations: 72.29 MB / 0.5529 GB, free: 73.36 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.138/4.498, allocations: 1.822 GB / 2.375 GB, free: 237.3 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003178/4.499, allocations: 90.03 kB / 2.375 GB, free: 237.3 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.665/8.164, allocations: 1.08 GB / 3.455 GB, free: 83.28 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001853/8.164, allocations: 33.78 kB / 3.455 GB, free: 83.25 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.005105/8.169, allocations: 1.357 MB / 3.457 GB, free: 81.85 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/8.169, allocations: 11.97 kB / 3.457 GB, free: 81.84 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001594/8.171, allocations: 210.3 kB / 3.457 GB, free: 81.63 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004467/8.175, allocations: 1.424 MB / 3.458 GB, free: 80.18 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.248e-05/8.175, allocations: 20 kB / 3.458 GB, free: 80.16 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002026/8.176, allocations: 40 kB / 3.458 GB, free: 80.12 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001196/8.177, allocations: 0.7209 MB / 3.459 GB, free: 79.4 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001211/8.178, allocations: 0.8749 MB / 3.46 GB, free: 78.45 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.225e-05/8.178, allocations: 0 / 3.46 GB, free: 78.45 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.414e-05/8.178, allocations: 8 kB / 3.46 GB, free: 78.44 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.614e-05/8.178, allocations: 16 kB / 3.46 GB, free: 78.43 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005078/8.183, allocations: 4.715 MB / 3.464 GB, free: 73.43 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007352/8.184, allocations: 0.5227 MB / 3.465 GB, free: 72.89 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004968/8.185, allocations: 447.9 kB / 3.465 GB, free: 72.46 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000362/8.185, allocations: 194.5 kB / 3.466 GB, free: 72.24 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003789/8.185, allocations: 297.2 kB / 3.466 GB, free: 71.93 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=35): time 3.096e-06/8.185, allocations: 0 / 3.466 GB, free: 71.93 MB / 0.6042 GB Notification: Performance of matching and sorting (n=35): time 0.002508/8.188, allocations: 0.9684 MB / 3.467 GB, free: 70.96 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.09e-05/8.188, allocations: 89.09 kB / 3.467 GB, free: 70.86 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001473/8.189, allocations: 0.9178 MB / 3.468 GB, free: 69.93 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.447e-05/8.19, allocations: 25.7 kB / 3.468 GB, free: 69.89 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003111/8.19, allocations: 352.4 kB / 3.468 GB, free: 69.54 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001086/8.19, allocations: 118.2 kB / 3.468 GB, free: 69.43 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.553e-05/8.19, allocations: 0 / 3.468 GB, free: 69.43 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.642e-05/8.19, allocations: 330 kB / 3.469 GB, free: 69.1 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000291/8.19, allocations: 224.9 kB / 3.469 GB, free: 68.88 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004674/8.191, allocations: 0.5498 MB / 3.469 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003783/8.191, allocations: 321.5 kB / 3.47 GB, free: 67.87 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/8.191, allocations: 4 kB / 3.47 GB, free: 67.86 MB / 0.6042 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001922/8.193, allocations: 1.076 MB / 3.471 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005294/8.194, allocations: 2.098 MB / 3.473 GB, free: 64.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.588e-05/8.194, allocations: 4 kB / 3.473 GB, free: 64.53 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007121/8.194, allocations: 375.9 kB / 3.473 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002369/8.195, allocations: 63.91 kB / 3.473 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001825/8.197, allocations: 1.424 MB / 3.475 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001209/8.198, allocations: 115.4 kB / 3.475 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.263e-05/8.198, allocations: 27.98 kB / 3.475 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/8.198, allocations: 4 kB / 3.475 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00124/8.199, allocations: 0.7726 MB / 3.475 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/8.199, allocations: 4 kB / 3.475 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007231/8.2, allocations: 312.1 kB / 3.476 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002197/8.2, allocations: 63.84 kB / 3.476 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004402/8.205, allocations: 3.468 MB / 3.479 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001188/8.206, allocations: 107.6 kB / 3.479 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.453e-05/8.206, allocations: 27.91 kB / 3.479 GB, free: 57.64 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_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.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 {11 13} Notification: Performance of prepare postOptimizeDAE: time 0.0002106/8.206, allocations: 125 kB / 3.479 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002226/8.206, allocations: 98.78 kB / 3.48 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001397/8.208, allocations: 0.8509 MB / 3.48 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/8.208, allocations: 8 kB / 3.48 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.115e-06/8.208, allocations: 0 / 3.48 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/8.208, allocations: 7.984 kB / 3.48 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002765/8.21, allocations: 1.774 MB / 3.482 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/8.21, allocations: 8.312 kB / 3.482 GB, free: 54.69 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001164/8.211, allocations: 27.92 kB / 3.482 GB, free: 54.66 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000542/8.211, allocations: 325.8 kB / 3.482 GB, free: 54.34 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.642e-05/8.211, allocations: 4 kB / 3.482 GB, free: 54.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001106/8.212, allocations: 1.264 MB / 3.484 GB, free: 53.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/8.212, allocations: 11.91 kB / 3.484 GB, free: 53.04 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001145/8.213, allocations: 1.026 MB / 3.485 GB, free: 51.93 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004399/8.214, allocations: 231.7 kB / 3.485 GB, free: 51.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002108/8.214, allocations: 7.984 kB / 3.485 GB, free: 51.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008139/8.215, allocations: 87.75 kB / 3.485 GB, free: 51.59 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.188e-05/8.215, allocations: 27.88 kB / 3.485 GB, free: 51.56 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.548e-05/8.215, allocations: 11.98 kB / 3.485 GB, free: 51.55 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.000811/8.216, allocations: 0.7139 MB / 3.486 GB, free: 50.83 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00189/8.218, allocations: 0.554 MB / 3.486 GB, free: 50.27 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_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.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 {11 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.001715/8.22, allocations: 1.221 MB / 3.487 GB, free: 49.04 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002279/8.222, allocations: 1.187 MB / 3.489 GB, free: 47.83 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/8.222, allocations: 0 / 3.489 GB, free: 47.83 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005466/8.222, allocations: 336 kB / 3.489 GB, free: 47.5 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002826/8.225, allocations: 0.5667 MB / 3.489 GB, free: 46.95 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002714/8.228, allocations: 1.488 MB / 3.491 GB, free: 45.41 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000811/8.229, allocations: 1.292 MB / 3.492 GB, free: 44.09 MB / 0.6042 GB Notification: Performance of SimCode: time 7.02e-07/8.229, allocations: 0 / 3.492 GB, free: 44.09 MB / 0.6042 GB Notification: Performance of Templates: time 0.05174/8.281, allocations: 26.95 MB / 3.519 GB, free: 17.3 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe 2>&1)