Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.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.SeriesParallelFlowOptimised,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009243/0.0009243, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5068/0.5068, allocations: 90.91 MB / 99.34 MB, free: 2.227 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 221.5 MB / 343.2 MB, free: 1.559 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008414/0.0008415, allocations: 91.91 kB / 415.9 MB, free: 11.11 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.382e-05/2.385e-05, allocations: 4 kB / 494.6 MB, free: 52.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1395, allocations: 72.31 MB / 0.5536 GB, free: 12.18 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.116/4.256, allocations: 1.822 GB / 2.376 GB, free: 111.7 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002106/4.256, allocations: 95.94 kB / 2.376 GB, free: 111.6 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.98/11.24, allocations: 1.976 GB / 4.352 GB, free: 4.543 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.074e-06/11.24, allocations: 0 / 4.352 GB, free: 4.543 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001747/11.24, allocations: 31.98 kB / 4.352 GB, free: 4.512 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.004157/11.24, allocations: 1.281 MB / 4.353 GB, free: 3.176 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/11.24, allocations: 8.031 kB / 4.353 GB, free: 3.168 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00116/11.24, allocations: 202.3 kB / 4.353 GB, free: 2.969 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003547/11.24, allocations: 1.429 MB / 4.354 GB, free: 1.484 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.469e-05/11.24, allocations: 16 kB / 4.354 GB, free: 1.469 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001368/11.24, allocations: 43.98 kB / 4.355 GB, free: 1.426 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009548/11.25, allocations: 0.7014 MB / 4.355 GB, free: 0.7227 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3607/11.61, allocations: 0.8464 MB / 4.356 GB, free: 147.6 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.633e-05/11.61, allocations: 4.812 kB / 4.356 GB, free: 147.6 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.749e-05/11.61, allocations: 3.438 kB / 4.356 GB, free: 147.6 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.982e-05/11.61, allocations: 14.09 kB / 4.356 GB, free: 147.6 MB / 0.6042 GB Warning: The model contains alias variables with conflicting start and/or 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.004803/11.61, allocations: 4.59 MB / 4.361 GB, free: 144.6 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001827/11.61, allocations: 4.071 MB / 4.364 GB, free: 140.4 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004924/11.61, allocations: 340 kB / 4.365 GB, free: 140.3 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002781/11.61, allocations: 198.6 kB / 4.365 GB, free: 140.2 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000469/11.61, allocations: 294 kB / 4.365 GB, free: 140.1 MB / 0.6042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004279/11.62, allocations: 17.03 kB / 4.365 GB, free: 140.1 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=36): time 3.737e-06/11.62, allocations: 0 / 4.365 GB, free: 140.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=36): time 0.001932/11.62, allocations: 0.8056 MB / 4.366 GB, free: 140 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.098e-05/11.62, allocations: 86.19 kB / 4.366 GB, free: 139.9 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001137/11.62, allocations: 0.897 MB / 4.367 GB, free: 139.8 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.842e-05/11.62, allocations: 31.86 kB / 4.367 GB, free: 139.7 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003919/11.62, allocations: 0.5228 MB / 4.368 GB, free: 139.6 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.663e-05/11.62, allocations: 122.7 kB / 4.368 GB, free: 139.5 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.291e-05/11.62, allocations: 4.125 kB / 4.368 GB, free: 139.5 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.421e-05/11.62, allocations: 331 kB / 4.368 GB, free: 139.2 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003052/11.62, allocations: 202.9 kB / 4.368 GB, free: 139.2 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004542/11.62, allocations: 0.5334 MB / 4.369 GB, free: 138.8 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000372/11.62, allocations: 299.6 kB / 4.369 GB, free: 138.8 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/11.62, allocations: 4.844 kB / 4.369 GB, free: 138.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001619/11.62, allocations: 0.9505 MB / 4.37 GB, free: 138.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003686/11.62, allocations: 2.218 MB / 4.372 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/11.62, allocations: 10.22 kB / 4.372 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004472/11.62, allocations: 222.9 kB / 4.372 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002942/11.62, allocations: 77.86 kB / 4.372 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001011/11.62, allocations: 1.119 MB / 4.374 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009792/11.62, allocations: 93.78 kB / 4.374 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.183e-05/11.63, allocations: 29.09 kB / 4.374 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.465e-06/11.63, allocations: 3.719 kB / 4.374 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001041/11.63, allocations: 0.6453 MB / 4.374 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/11.63, allocations: 5.812 kB / 4.374 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004862/11.63, allocations: 216.3 kB / 4.374 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002608/11.63, allocations: 75.81 kB / 4.375 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002693/11.63, allocations: 2.775 MB / 4.377 GB, free: 134.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008181/11.63, allocations: 88.56 kB / 4.377 GB, free: 134.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.188e-05/11.63, allocations: 26.91 kB / 4.377 GB, free: 134.5 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (40): * Single equations (assignments): 38 * 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 {1 19} Notification: Performance of prepare postOptimizeDAE: time 0.0001276/11.63, allocations: 129.2 kB / 4.377 GB, free: 134.4 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008629/11.63, allocations: 0.6665 MB / 4.378 GB, free: 134.3 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.077e-05/11.63, allocations: 107.4 kB / 4.378 GB, free: 134.2 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001054/11.63, allocations: 0.7073 MB / 4.379 GB, free: 134.1 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/11.63, allocations: 6.75 kB / 4.379 GB, free: 134.1 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/11.63, allocations: 3.875 kB / 4.379 GB, free: 134.1 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/11.63, allocations: 9.922 kB / 4.379 GB, free: 134.1 MB / 0.6042 GB Warning: The model contains alias variables with conflicting start and/or 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 postOpt removeSimpleEquations (simulation): time 0.002513/11.64, allocations: 2.003 MB / 4.381 GB, free: 133.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/11.64, allocations: 6.141 kB / 4.381 GB, free: 133.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000211/11.64, allocations: 58.39 kB / 4.381 GB, free: 133.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002511/11.64, allocations: 131.3 kB / 4.381 GB, free: 133.4 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.374e-05/11.64, allocations: 6.484 kB / 4.381 GB, free: 133.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005922/11.64, allocations: 0.8693 MB / 4.382 GB, free: 132.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/11.64, allocations: 5.625 kB / 4.382 GB, free: 132.9 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009523/11.64, allocations: 0.8944 MB / 4.383 GB, free: 132.5 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003098/11.64, allocations: 232.7 kB / 4.383 GB, free: 132.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001097/11.64, allocations: 3.672 kB / 4.383 GB, free: 132.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006673/11.64, allocations: 73.3 kB / 4.383 GB, free: 132.3 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.773e-05/11.64, allocations: 29.92 kB / 4.383 GB, free: 132.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.537e-05/11.64, allocations: 14.31 kB / 4.383 GB, free: 132.3 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0008718/11.64, allocations: 0.6985 MB / 4.384 GB, free: 132.2 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.7e-07/11.64, allocations: 0 / 4.384 GB, free: 132.2 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00158/11.64, allocations: 0.5724 MB / 4.384 GB, free: 132.2 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (26): * Single equations (assignments): 23 * 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 {1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.002407/11.64, allocations: 3.018 MB / 4.387 GB, free: 130.6 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001696/11.65, allocations: 1.065 MB / 4.388 GB, free: 130.3 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/11.65, allocations: 0 / 4.388 GB, free: 130.3 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003488/11.65, allocations: 228.7 kB / 4.389 GB, free: 130.3 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003048/11.65, allocations: 0.5787 MB / 4.389 GB, free: 130.3 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002761/11.65, allocations: 1.724 MB / 4.391 GB, free: 129.8 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005997/11.65, allocations: 1.234 MB / 4.392 GB, free: 129.1 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001867/11.65, allocations: 0.7325 MB / 4.393 GB, free: 129.1 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003072/11.65, allocations: 330.3 kB / 4.393 GB, free: 129.1 MB / 0.6042 GB Notification: Performance of SimCode: time 7.61e-07/11.65, allocations: 0 / 4.393 GB, free: 129.1 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05368/11.71, allocations: 36.39 MB / 4.429 GB, free: 128.1 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001859/11.71, allocations: 204.9 kB / 4.429 GB, free: 127.9 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.965/14.67, allocations: 0 / 4.429 GB, free: 127.9 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised.fmu > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1)