Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlow.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: "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_ParallelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_ParallelFlow",fmuType="me",version="2.0",platforms={"static"}) [: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.001571/0.001571, allocations: 191 kB / 7.803 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4623/0.4623, allocations: 90.86 MB / 99.07 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.305/1.305, allocations: 221.4 MB / 342.7 MB, free: 5.215 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.0009542/0.0009544, allocations: 90.86 kB / 415.5 MB, free: 6.449 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1879/0.1889, allocations: 78.45 MB / 494 MB, free: 7.992 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4297/0.6185, allocations: 72.31 MB / 0.553 GB, free: 73.36 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.699/4.318, allocations: 1.822 GB / 2.375 GB, free: 3.621 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003474/4.318, allocations: 87.94 kB / 2.375 GB, free: 3.535 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 3.622/7.94, allocations: 0.9695 GB / 3.344 GB, free: 168 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/7.94, allocations: 10.59 kB / 3.344 GB, free: 168 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001313/7.942, allocations: 186.3 kB / 3.345 GB, free: 167.9 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003712/7.946, allocations: 1.366 MB / 3.346 GB, free: 167.6 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.61e-05/7.946, allocations: 15.31 kB / 3.346 GB, free: 167.6 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.335e-05/7.946, allocations: 41.25 kB / 3.346 GB, free: 167.6 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007702/7.946, allocations: 0.5062 MB / 3.346 GB, free: 167.6 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008492/7.947, allocations: 0.7049 MB / 3.347 GB, free: 167.4 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/7.947, allocations: 6.375 kB / 3.347 GB, free: 167.4 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.267e-05/7.947, allocations: 7.016 kB / 3.347 GB, free: 167.4 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.374e-05/7.947, allocations: 14.44 kB / 3.347 GB, free: 167.4 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003287/7.951, allocations: 4.153 MB / 3.351 GB, free: 164.6 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005845/7.951, allocations: 484 kB / 3.352 GB, free: 164.6 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003686/7.952, allocations: 348.2 kB / 3.352 GB, free: 164.5 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003031/7.952, allocations: 192.2 kB / 3.352 GB, free: 164.3 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000323/7.952, allocations: 292.8 kB / 3.352 GB, free: 164.3 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=33): time 2.194e-06/7.952, allocations: 0 / 3.352 GB, free: 164.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33): time 0.001779/7.954, allocations: 0.8182 MB / 3.353 GB, free: 164.2 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.33e-05/7.954, allocations: 82.3 kB / 3.353 GB, free: 164.1 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008828/7.955, allocations: 0.8763 MB / 3.354 GB, free: 163.9 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.315e-05/7.955, allocations: 28.64 kB / 3.354 GB, free: 163.9 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002127/7.955, allocations: 332.4 kB / 3.355 GB, free: 163.8 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.074e-05/7.955, allocations: 116.1 kB / 3.355 GB, free: 163.7 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.313e-05/7.955, allocations: 0 / 3.355 GB, free: 163.7 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.284e-05/7.955, allocations: 328.2 kB / 3.355 GB, free: 163.4 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002503/7.956, allocations: 206.7 kB / 3.355 GB, free: 163.4 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004199/7.956, allocations: 0.5254 MB / 3.356 GB, free: 163 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000323/7.956, allocations: 302.2 kB / 3.356 GB, free: 163 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/7.957, allocations: 3.5 kB / 3.356 GB, free: 163 MB / 0.6042 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001556/7.958, allocations: 0.9548 MB / 3.357 GB, free: 162.9 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003824/7.958, allocations: 2.095 MB / 3.359 GB, free: 160.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/7.958, allocations: 6.969 kB / 3.359 GB, free: 160.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005074/7.959, allocations: 279.5 kB / 3.359 GB, free: 160.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002716/7.959, allocations: 74.33 kB / 3.359 GB, free: 160.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001569/7.961, allocations: 1.261 MB / 3.361 GB, free: 160.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009523/7.962, allocations: 101.1 kB / 3.361 GB, free: 160.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.517e-05/7.962, allocations: 28.11 kB / 3.361 GB, free: 160.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.688e-06/7.962, allocations: 8.688 kB / 3.361 GB, free: 160.2 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001077/7.963, allocations: 0.6585 MB / 3.361 GB, free: 160.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/7.963, allocations: 5.5 kB / 3.361 GB, free: 160.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005419/7.964, allocations: 215.2 kB / 3.362 GB, free: 160.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002256/7.964, allocations: 70.77 kB / 3.362 GB, free: 160.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003092/7.967, allocations: 2.836 MB / 3.364 GB, free: 158.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008765/7.968, allocations: 94.55 kB / 3.364 GB, free: 158.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.518e-05/7.968, allocations: 21.78 kB / 3.364 GB, free: 158.8 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 (35): * Single equations (assignments): 33 * 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 {10 11} Notification: Performance of prepare postOptimizeDAE: time 0.0001582/7.968, allocations: 123.9 kB / 3.365 GB, free: 158.7 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/7.968, allocations: 93.25 kB / 3.365 GB, free: 158.7 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001174/7.969, allocations: 0.7178 MB / 3.365 GB, free: 158.6 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/7.969, allocations: 11.66 kB / 3.365 GB, free: 158.6 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/7.969, allocations: 0 / 3.365 GB, free: 158.6 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/7.969, allocations: 3.938 kB / 3.365 GB, free: 158.6 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002102/7.971, allocations: 1.598 MB / 3.367 GB, free: 158.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/7.971, allocations: 7.25 kB / 3.367 GB, free: 158.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001441/7.972, allocations: 31.5 kB / 3.367 GB, free: 158.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003945/7.972, allocations: 228.3 kB / 3.367 GB, free: 158.1 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.878e-05/7.972, allocations: 10.59 kB / 3.367 GB, free: 158.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009817/7.973, allocations: 1.101 MB / 3.368 GB, free: 157.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/7.973, allocations: 0 / 3.368 GB, free: 157.6 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001049/7.974, allocations: 0.9271 MB / 3.369 GB, free: 157.2 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001299/7.975, allocations: 1.329 MB / 3.37 GB, free: 156.5 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003434/7.976, allocations: 222.1 kB / 3.371 GB, free: 156.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000128/7.976, allocations: 3.875 kB / 3.371 GB, free: 156.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006506/7.977, allocations: 68.19 kB / 3.371 GB, free: 156.3 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/7.977, allocations: 27.08 kB / 3.371 GB, free: 156.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.221e-05/7.977, allocations: 13.16 kB / 3.371 GB, free: 156.3 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.00091/7.978, allocations: 0.6843 MB / 3.371 GB, free: 156.2 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.003429/7.981, allocations: 0.6805 MB / 3.372 GB, free: 156.2 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 (13): * Single equations (assignments): 10 * 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 {10 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.002122/7.983, allocations: 1.031 MB / 3.373 GB, free: 156 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002548/7.986, allocations: 1.094 MB / 3.374 GB, free: 155.8 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/7.986, allocations: 0 / 3.374 GB, free: 155.8 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005333/7.986, allocations: 279.1 kB / 3.374 GB, free: 155.8 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002547/7.989, allocations: 0.5241 MB / 3.375 GB, free: 155.8 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002331/7.991, allocations: 1.414 MB / 3.376 GB, free: 155.4 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006579/7.992, allocations: 1.258 MB / 3.378 GB, free: 154.7 MB / 0.6042 GB Notification: Performance of SimCode: time 8.72e-07/7.992, allocations: 3.375 kB / 3.378 GB, free: 154.7 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_ParallelFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_ParallelFlow.fmu > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe 2>&1)