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.001043/0.001043, 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.517/0.517, allocations: 90.92 MB / 99.35 MB, free: 2.148 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.566/1.566, allocations: 221.5 MB / 343.2 MB, free: 1.586 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.0009998/0.0009998, allocations: 99.83 kB / 415.9 MB, free: 11.12 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.592e-05/2.594e-05, allocations: 4 kB / 494.6 MB, free: 52.33 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1336, allocations: 72.31 MB / 0.5536 GB, free: 12.19 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.999/4.133, allocations: 1.822 GB / 2.376 GB, free: 112.8 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002162/4.133, allocations: 91.95 kB / 2.376 GB, free: 112.7 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.324/10.46, allocations: 1.784 GB / 4.16 GB, free: 159.6 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.473e-06/10.46, allocations: 3.938 kB / 4.16 GB, free: 159.6 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001658/10.46, allocations: 33.47 kB / 4.16 GB, free: 159.6 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.004152/10.46, allocations: 1.225 MB / 4.161 GB, free: 159 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.926e-05/10.46, allocations: 15.19 kB / 4.161 GB, free: 159 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001202/10.46, allocations: 183.9 kB / 4.161 GB, free: 159 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003894/10.47, allocations: 1.382 MB / 4.162 GB, free: 158.7 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.436e-05/10.47, allocations: 18.72 kB / 4.162 GB, free: 158.7 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001551/10.47, allocations: 34.67 kB / 4.162 GB, free: 158.7 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008326/10.47, allocations: 498.2 kB / 4.163 GB, free: 158.7 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009455/10.47, allocations: 0.6957 MB / 4.164 GB, free: 158.4 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/10.47, allocations: 5.656 kB / 4.164 GB, free: 158.4 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.619e-05/10.47, allocations: 10.78 kB / 4.164 GB, free: 158.4 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/10.47, allocations: 11.03 kB / 4.164 GB, free: 158.4 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.003716/10.47, allocations: 4.08 MB / 4.168 GB, free: 155.7 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005225/10.47, allocations: 457.1 kB / 4.168 GB, free: 155.6 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003515/10.47, allocations: 338.3 kB / 4.168 GB, free: 155.6 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003194/10.47, allocations: 192.6 kB / 4.169 GB, free: 155.4 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003428/10.47, allocations: 290.6 kB / 4.169 GB, free: 155.4 MB / 0.6042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003875/10.47, allocations: 16.81 kB / 4.169 GB, free: 155.4 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=33): time 2.404e-06/10.47, allocations: 0 / 4.169 GB, free: 155.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33): time 0.001685/10.48, allocations: 0.7983 MB / 4.17 GB, free: 155.3 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.057e-05/10.48, allocations: 80.55 kB / 4.17 GB, free: 155.2 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001042/10.48, allocations: 0.8487 MB / 4.17 GB, free: 155 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.504e-05/10.48, allocations: 32.3 kB / 4.171 GB, free: 155 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003622/10.48, allocations: 496 kB / 4.171 GB, free: 154.8 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.435e-05/10.48, allocations: 108.1 kB / 4.171 GB, free: 154.8 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.352e-05/10.48, allocations: 0 / 4.171 GB, free: 154.8 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.275e-05/10.48, allocations: 328.2 kB / 4.171 GB, free: 154.5 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002357/10.48, allocations: 198.9 kB / 4.172 GB, free: 154.5 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004193/10.48, allocations: 0.516 MB / 4.172 GB, free: 154.1 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003386/10.48, allocations: 281.1 kB / 4.172 GB, free: 154.1 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/10.48, allocations: 3.219 kB / 4.172 GB, free: 154.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001539/10.48, allocations: 0.9262 MB / 4.173 GB, free: 154 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004876/10.48, allocations: 2.14 MB / 4.175 GB, free: 151.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/10.48, allocations: 4.719 kB / 4.175 GB, free: 151.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004878/10.48, allocations: 243.4 kB / 4.176 GB, free: 151.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002685/10.48, allocations: 63.95 kB / 4.176 GB, free: 151.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001026/10.48, allocations: 1.149 MB / 4.177 GB, free: 151.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001208/10.48, allocations: 78.2 kB / 4.177 GB, free: 151.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.512e-05/10.48, allocations: 25.81 kB / 4.177 GB, free: 151.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/10.48, allocations: 12.48 kB / 4.177 GB, free: 151.2 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001245/10.49, allocations: 0.6357 MB / 4.178 GB, free: 151.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/10.49, allocations: 3.875 kB / 4.178 GB, free: 151.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006841/10.49, allocations: 227.3 kB / 4.178 GB, free: 151.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002779/10.49, allocations: 71.7 kB / 4.178 GB, free: 151.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003038/10.49, allocations: 2.878 MB / 4.181 GB, free: 149.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009843/10.49, allocations: 81.92 kB / 4.181 GB, free: 149.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.626e-05/10.49, allocations: 24.88 kB / 4.181 GB, free: 149.9 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.0001845/10.49, allocations: 128.6 kB / 4.181 GB, free: 149.8 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001003/10.49, allocations: 0.6557 MB / 4.181 GB, free: 149.7 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001922/10.49, allocations: 96.67 kB / 4.182 GB, free: 149.6 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001087/10.49, allocations: 0.7003 MB / 4.182 GB, free: 149.5 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/10.49, allocations: 7.328 kB / 4.182 GB, free: 149.5 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/10.49, allocations: 3.25 kB / 4.182 GB, free: 149.5 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/10.49, allocations: 0 / 4.182 GB, free: 149.5 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002416/10.5, allocations: 1.585 MB / 4.184 GB, free: 149.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/10.5, allocations: 5.625 kB / 4.184 GB, free: 149.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001434/10.5, allocations: 30.92 kB / 4.184 GB, free: 149.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000336/10.5, allocations: 201.2 kB / 4.184 GB, free: 149 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.391e-05/10.5, allocations: 6.656 kB / 4.184 GB, free: 149 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007625/10.5, allocations: 1.023 MB / 4.185 GB, free: 148.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.491e-06/10.5, allocations: 3.812 kB / 4.185 GB, free: 148.5 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001133/10.5, allocations: 0.9054 MB / 4.186 GB, free: 148.1 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004587/10.5, allocations: 214 kB / 4.186 GB, free: 148 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001704/10.5, allocations: 3.281 kB / 4.186 GB, free: 148 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000725/10.5, allocations: 63.08 kB / 4.186 GB, free: 148 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/10.5, allocations: 45.39 kB / 4.186 GB, free: 148 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.316e-05/10.5, allocations: 6.594 kB / 4.186 GB, free: 148 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0009409/10.5, allocations: 0.671 MB / 4.187 GB, free: 147.9 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.512e-06/10.5, allocations: 112 / 4.187 GB, free: 147.9 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001904/10.5, allocations: 0.5118 MB / 4.187 GB, free: 147.8 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.002716/10.51, allocations: 2.765 MB / 4.19 GB, free: 146.3 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0018/10.51, allocations: 1.032 MB / 4.191 GB, free: 146.1 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/10.51, allocations: 0 / 4.191 GB, free: 146.1 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.00035/10.51, allocations: 218.4 kB / 4.191 GB, free: 146.1 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00288/10.51, allocations: 0.5419 MB / 4.192 GB, free: 146.1 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002762/10.51, allocations: 1.62 MB / 4.193 GB, free: 145.6 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006273/10.51, allocations: 1.204 MB / 4.195 GB, free: 144.9 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001714/10.52, allocations: 0.6693 MB / 4.195 GB, free: 144.9 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003148/10.52, allocations: 298.7 kB / 4.196 GB, free: 144.9 MB / 0.6042 GB Notification: Performance of SimCode: time 7.62e-07/10.52, allocations: 0 / 4.196 GB, free: 144.9 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06002/10.58, allocations: 33.61 MB / 4.228 GB, free: 131.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001814/10.58, allocations: 195.4 kB / 4.229 GB, free: 131.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.91/13.49, allocations: 8 kB / 4.229 GB, free: 131.6 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)