Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.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.ParallelFlowOptimised,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised",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.001444/0.001443, allocations: 179 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5196/0.5196, allocations: 90.81 MB / 104.5 MB, free: 9.793 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.424/1.424, allocations: 221.3 MB / 348.3 MB, free: 0.5078 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.0009207/0.0009206, allocations: 89.02 kB / 421.2 MB, free: 5.48 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.681e-05/3.685e-05, allocations: 4 kB / 0.4897 GB, free: 5.266 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4314/0.4314, allocations: 72.31 MB / 0.5603 GB, free: 40.46 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.455/4.887, allocations: 1.823 GB / 2.383 GB, free: 150.1 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002899/4.887, allocations: 87.84 kB / 2.383 GB, free: 150.1 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.749/11.64, allocations: 1.802 GB / 4.185 GB, free: 156 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.713e-06/11.64, allocations: 0 / 4.185 GB, free: 156 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001071/11.64, allocations: 35.5 kB / 4.185 GB, free: 156 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 0.00361/11.64, allocations: 1.228 MB / 4.187 GB, free: 155.4 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/11.64, allocations: 16.62 kB / 4.187 GB, free: 155.4 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001933/11.64, allocations: 94.5 kB / 4.187 GB, free: 155.4 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009397/11.64, allocations: 187.2 kB / 4.187 GB, free: 155.3 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003405/11.64, allocations: 1.379 MB / 4.188 GB, free: 155 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.164e-05/11.64, allocations: 44.91 kB / 4.188 GB, free: 155 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.122e-05/11.64, allocations: 58.41 kB / 4.188 GB, free: 155 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001036/11.65, allocations: 0.7729 MB / 4.189 GB, free: 154.8 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/11.65, allocations: 0 / 4.189 GB, free: 154.8 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.606e-05/11.65, allocations: 21.62 kB / 4.189 GB, free: 154.8 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.63e-05/11.65, allocations: 11.53 kB / 4.189 GB, free: 154.8 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006695/11.65, allocations: 0.4929 MB / 4.19 GB, free: 154.8 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.003596/11.65, allocations: 4.218 MB / 4.194 GB, free: 152 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005211/11.65, allocations: 413.3 kB / 4.194 GB, free: 151.9 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003649/11.65, allocations: 322.8 kB / 4.194 GB, free: 151.9 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000304/11.65, allocations: 187.7 kB / 4.195 GB, free: 151.8 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004148/11.65, allocations: 298 kB / 4.195 GB, free: 151.7 MB / 0.6042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003424/11.65, allocations: 42.14 kB / 4.195 GB, free: 151.7 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=33): time 2.013e-06/11.65, allocations: 0 / 4.195 GB, free: 151.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33): time 0.001359/11.65, allocations: 0.717 MB / 4.196 GB, free: 151.6 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.345e-05/11.65, allocations: 87.89 kB / 4.196 GB, free: 151.5 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/11.65, allocations: 1.001 MB / 4.197 GB, free: 151.3 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.069e-05/11.65, allocations: 37.02 kB / 4.197 GB, free: 151.3 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003139/11.65, allocations: 490.9 kB / 4.197 GB, free: 151.1 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.552e-05/11.66, allocations: 112.7 kB / 4.197 GB, free: 151.1 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.312e-05/11.66, allocations: 10.97 kB / 4.197 GB, free: 151.1 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.813e-05/11.66, allocations: 322.6 kB / 4.198 GB, free: 150.8 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002366/11.66, allocations: 185.4 kB / 4.198 GB, free: 150.8 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004685/11.66, allocations: 0.5134 MB / 4.198 GB, free: 150.4 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003211/11.66, allocations: 296.4 kB / 4.199 GB, free: 150.4 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/11.66, allocations: 0 / 4.199 GB, free: 150.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001216/11.66, allocations: 0.9123 MB / 4.199 GB, free: 150.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005104/11.66, allocations: 2.141 MB / 4.202 GB, free: 148 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/11.66, allocations: 7.781 kB / 4.202 GB, free: 148 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005819/11.66, allocations: 253.6 kB / 4.202 GB, free: 148 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002563/11.66, allocations: 70.33 kB / 4.202 GB, free: 148 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008703/11.66, allocations: 1.027 MB / 4.203 GB, free: 147.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009459/11.66, allocations: 90.25 kB / 4.203 GB, free: 147.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.769e-05/11.66, allocations: 21.47 kB / 4.203 GB, free: 147.4 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/11.66, allocations: 3.25 kB / 4.203 GB, free: 147.4 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001097/11.66, allocations: 0.7351 MB / 4.204 GB, free: 147.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/11.66, allocations: 9.562 kB / 4.204 GB, free: 147.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005238/11.66, allocations: 240.8 kB / 4.204 GB, free: 147.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002151/11.66, allocations: 70.47 kB / 4.204 GB, free: 147.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003022/11.67, allocations: 2.983 MB / 4.207 GB, free: 146 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000915/11.67, allocations: 91.42 kB / 4.207 GB, free: 146 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.787e-05/11.67, allocations: 24.66 kB / 4.207 GB, free: 146 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 {1 20} Notification: Performance of prepare postOptimizeDAE: time 0.0001696/11.67, allocations: 139.1 kB / 4.207 GB, free: 145.9 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001168/11.67, allocations: 106.4 kB / 4.207 GB, free: 145.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001152/11.67, allocations: 0.739 MB / 4.208 GB, free: 145.7 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.032e-06/11.67, allocations: 7.859 kB / 4.208 GB, free: 145.7 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/11.67, allocations: 0 / 4.208 GB, free: 145.7 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/11.67, allocations: 0 / 4.208 GB, free: 145.7 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00212/11.67, allocations: 1.684 MB / 4.21 GB, free: 145.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/11.67, allocations: 7.719 kB / 4.21 GB, free: 145.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001332/11.67, allocations: 35.59 kB / 4.21 GB, free: 145.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004375/11.67, allocations: 237.7 kB / 4.21 GB, free: 145.2 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.531e-05/11.67, allocations: 14.22 kB / 4.21 GB, free: 145.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007429/11.67, allocations: 0.996 MB / 4.211 GB, free: 144.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/11.67, allocations: 3.938 kB / 4.211 GB, free: 144.7 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009773/11.67, allocations: 0.9372 MB / 4.212 GB, free: 144.3 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003566/11.67, allocations: 221.8 kB / 4.212 GB, free: 144.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.981e-05/11.67, allocations: 7.219 kB / 4.212 GB, free: 144.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006151/11.67, allocations: 71.2 kB / 4.212 GB, free: 144.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.432e-05/11.67, allocations: 32.69 kB / 4.212 GB, free: 144.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-05/11.67, allocations: 16.8 kB / 4.212 GB, free: 144.1 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0008565/11.67, allocations: 0.7965 MB / 4.213 GB, free: 144 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.31e-07/11.67, allocations: 0 / 4.213 GB, free: 144 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00157/11.68, allocations: 0.5365 MB / 4.213 GB, free: 144 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 {1 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.002263/11.68, allocations: 2.693 MB / 4.216 GB, free: 142.5 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001583/11.68, allocations: 1.079 MB / 4.217 GB, free: 142.2 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/11.68, allocations: 0 / 4.217 GB, free: 142.2 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003387/11.68, allocations: 228.2 kB / 4.217 GB, free: 142.2 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00302/11.68, allocations: 0.6217 MB / 4.218 GB, free: 142.2 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002702/11.69, allocations: 1.679 MB / 4.22 GB, free: 141.8 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005855/11.69, allocations: 1.204 MB / 4.221 GB, free: 141 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001746/11.69, allocations: 0.7138 MB / 4.221 GB, free: 141 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002929/11.69, allocations: 300.9 kB / 4.222 GB, free: 140.8 MB / 0.6042 GB Notification: Performance of SimCode: time 1.252e-06/11.69, allocations: 0 / 4.222 GB, free: 140.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0804/11.77, allocations: 48.08 MB / 4.269 GB, free: 99.64 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001769/11.77, allocations: 237.3 kB / 4.269 GB, free: 99.32 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.566/15.34, allocations: 0 / 4.269 GB, free: 99.32 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised.fmu > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1)