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/ModelicaServices 4.0.0+maint.om/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 96.08 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 183.3 kB / 16.92 MB, free: 6.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7007/0.7007, allocations: 115.5 MB / 407.6 MB, free: 2.738 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003461/0.0003463, allocations: 12 kB / 496 MB, free: 6.277 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1344, allocations: 77.53 MB / 0.56 GB, free: 8.957 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlow): time 0.3865/0.521, allocations: 157.3 MB / 0.7136 GB, free: 9.523 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002997/0.524, allocations: 1.738 MB / 0.7153 GB, free: 7.781 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004236/0.5245, allocations: 11.88 kB / 0.7153 GB, free: 7.77 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0005965/0.5251, allocations: 143.2 kB / 0.7155 GB, free: 7.629 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001331/0.5265, allocations: 498 kB / 0.716 GB, free: 7.141 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001064/0.5275, allocations: 360.5 kB / 0.7163 GB, free: 6.793 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00345/0.531, allocations: 3.499 MB / 0.7197 GB, free: 3.285 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003019/0.534, allocations: 2.211 MB / 0.7219 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001852/0.5359, allocations: 0.8986 MB / 0.7228 GB, free: 156 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001233/0.5371, allocations: 0.7272 MB / 0.7235 GB, free: 15.42 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000166/0.5373, allocations: 32 kB / 0.7235 GB, free: 15.39 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001634/0.539, allocations: 0.8029 MB / 0.7243 GB, free: 14.59 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004368/0.5394, allocations: 274.9 kB / 0.7245 GB, free: 14.32 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0008858/0.5403, allocations: 0.5301 MB / 0.7251 GB, free: 13.78 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00175/0.5421, allocations: 1.378 MB / 0.7264 GB, free: 12.39 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.5421, allocations: 0 / 0.7264 GB, free: 12.39 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5421, allocations: 0 / 0.7264 GB, free: 12.39 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.481e-05/0.5421, allocations: 0 / 0.7264 GB, free: 12.39 MB / 0.545 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.002224/0.5444, allocations: 1.296 MB / 0.7277 GB, free: 11.04 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.5444, allocations: 8.031 kB / 0.7277 GB, free: 11.03 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001651/0.5446, allocations: 94.52 kB / 0.7278 GB, free: 10.93 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008199/0.5454, allocations: 186.5 kB / 0.728 GB, free: 10.75 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001248/0.5467, allocations: 0.8099 MB / 0.7287 GB, free: 9.879 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.228e-05/0.5467, allocations: 41 kB / 0.7288 GB, free: 9.836 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/0.5468, allocations: 60 kB / 0.7288 GB, free: 9.777 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001243/0.5481, allocations: 0.8316 MB / 0.7296 GB, free: 8.875 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.5481, allocations: 4 kB / 0.7297 GB, free: 8.871 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.122e-05/0.5482, allocations: 19.98 kB / 0.7297 GB, free: 8.852 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.491e-05/0.5482, allocations: 16 kB / 0.7297 GB, free: 8.836 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001001/0.5492, allocations: 0.5812 MB / 0.7303 GB, free: 8.25 MB / 0.545 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00396/0.5532, allocations: 4.251 MB / 0.7344 GB, free: 3.734 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007591/0.5539, allocations: 460.2 kB / 0.7348 GB, free: 3.277 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005085/0.5545, allocations: 346.1 kB / 0.7352 GB, free: 2.938 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002866/0.5548, allocations: 194.2 kB / 0.7354 GB, free: 2.711 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005305/0.5553, allocations: 323.1 kB / 0.7357 GB, free: 2.375 MB / 0.545 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002522/0.5556, allocations: 27.69 kB / 0.7357 GB, free: 2.348 MB / 0.545 GB Notification: Performance of pre-optimization done (n=33): time 3.116e-06/0.5556, allocations: 0 / 0.7357 GB, free: 2.348 MB / 0.545 GB Notification: Performance of matching and sorting (n=33): time 0.005019/0.5606, allocations: 1.587 MB / 0.7372 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.751e-05/0.5607, allocations: 93.09 kB / 0.7373 GB, free: 0.6211 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001433/0.5621, allocations: 1.147 MB / 0.7385 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.124e-05/0.5622, allocations: 37.7 kB / 0.7385 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003901/0.5626, allocations: 484.5 kB / 0.739 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000105/0.5627, allocations: 118.4 kB / 0.7391 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.509e-05/0.5628, allocations: 41.7 kB / 0.7391 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.867e-05/0.5629, allocations: 326 kB / 0.7394 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004218/0.5633, allocations: 237 kB / 0.7396 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006297/0.5639, allocations: 0.5545 MB / 0.7402 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009622/0.5649, allocations: 0.6884 MB / 0.7409 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.5649, allocations: 0 / 0.7409 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002467/0.5674, allocations: 1.119 MB / 0.7419 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001676/0.5676, allocations: 271.3 kB / 0.7422 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.5676, allocations: 11.98 kB / 0.7422 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001541/0.5691, allocations: 429.9 kB / 0.7426 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003992/0.5696, allocations: 103.8 kB / 0.7427 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001383/0.571, allocations: 1.11 MB / 0.7438 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008819/0.5718, allocations: 75.86 kB / 0.7439 GB, free: 9.535 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.479e-05/0.5719, allocations: 27.98 kB / 0.7439 GB, free: 9.508 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.554e-06/0.5719, allocations: 4 kB / 0.7439 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001499/0.5734, allocations: 0.7832 MB / 0.7447 GB, free: 8.711 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.5735, allocations: 4.625 kB / 0.7447 GB, free: 8.707 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005437/0.574, allocations: 238.4 kB / 0.7449 GB, free: 8.473 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003608/0.5744, allocations: 96.05 kB / 0.745 GB, free: 8.379 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003623/0.578, allocations: 3.061 MB / 0.748 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008295/0.5789, allocations: 83.88 kB / 0.7481 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.33e-05/0.5789, allocations: 24 kB / 0.7481 GB, free: 5.078 MB / 0.5606 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 (pulse_m_flow.count,$PRE.pulse_m_flow.count,pulse_m_flow.T_start,$PRE.pulse_m_flow.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0005581/0.5795, allocations: 468.7 kB / 0.7485 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001651/0.5796, allocations: 98.78 kB / 0.7486 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001437/0.5811, allocations: 0.7929 MB / 0.7494 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.5811, allocations: 8 kB / 0.7494 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.5811, allocations: 4 kB / 0.7494 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.5811, allocations: 0 / 0.7494 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002528/0.5837, allocations: 1.73 MB / 0.7511 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.5837, allocations: 8 kB / 0.7511 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002703/0.584, allocations: 63.88 kB / 0.7512 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005354/0.5845, allocations: 274.6 kB / 0.7514 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.477e-05/0.5845, allocations: 8 kB / 0.7514 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001034/0.5856, allocations: 1.043 MB / 0.7525 GB, free: 488 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/0.5856, allocations: 7.984 kB / 0.7525 GB, free: 480 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001316/0.5869, allocations: 0.9023 MB / 0.7534 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003247/0.5872, allocations: 231.7 kB / 0.7536 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001237/0.5874, allocations: 11.94 kB / 0.7536 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006492/0.588, allocations: 59.88 kB / 0.7536 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.284e-05/0.5881, allocations: 27.95 kB / 0.7537 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-05/0.5882, allocations: 8 kB / 0.7537 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001014/0.5892, allocations: 0.8236 MB / 0.7545 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.11e-07/0.5892, allocations: 3.938 kB / 0.7545 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001253/0.5904, allocations: 467.4 kB / 0.7549 GB, free: 13.88 MB / 0.5762 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) * Number of clocked states: 0 () * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001733/0.5922, allocations: 1.426 MB / 0.7563 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002683/0.5949, allocations: 1.283 MB / 0.7576 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.5949, allocations: 3.938 kB / 0.7576 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007169/0.5956, allocations: 311.7 kB / 0.7579 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003607/0.5992, allocations: 0.6239 MB / 0.7585 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01715/0.6164, allocations: 9.973 MB / 0.7682 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007519/0.6172, allocations: 1.193 MB / 0.7694 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00101/0.6182, allocations: 312.4 kB / 0.7697 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003986/0.6186, allocations: 323.3 kB / 0.77 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of SimCode: time 8.01e-07/0.6186, allocations: 0 / 0.77 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.273/0.8916, allocations: 29.9 MB / 0.7992 GB, free: 424 kB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003282/0.892, allocations: 280.5 kB / 0.7995 GB, free: 40 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.235/4.127, allocations: 11.44 kB / 0.7995 GB, free: 32 kB / 0.6075 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/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)