Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.444/2.444, allocations: 390.5 MB / 398 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00136/0.001361, allocations: 180.8 kB / 491.2 MB, free: 1.535 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.549/1.549, allocations: 221.5 MB / 0.7868 GB, free: 13.28 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 105.4 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.889e-05/1.884e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2994/0.2994, allocations: 143 MB / 1.212 GB, free: 39.4 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.002/6.301, allocations: 1.872 GB / 3.084 GB, free: 359.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003072/6.302, allocations: 88.39 kB / 3.084 GB, free: 359.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 4.13/10.43, allocations: 1.078 GB / 4.162 GB, free: 214.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.474e-06/10.43, allocations: 4 kB / 4.162 GB, free: 214.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002514/10.43, allocations: 35.98 kB / 4.162 GB, free: 214.6 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.005233/10.44, allocations: 1.281 MB / 4.163 GB, free: 213.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.567e-05/10.44, allocations: 8.031 kB / 4.163 GB, free: 213.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00157/10.44, allocations: 198.4 kB / 4.163 GB, free: 213.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004422/10.44, allocations: 1.445 MB / 4.165 GB, free: 211.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.574e-05/10.44, allocations: 28 kB / 4.165 GB, free: 211.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002034/10.44, allocations: 36 kB / 4.165 GB, free: 211.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001144/10.44, allocations: 0.6936 MB / 4.166 GB, free: 210.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001213/10.45, allocations: 0.8571 MB / 4.166 GB, free: 209.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/10.45, allocations: 4 kB / 4.166 GB, free: 209.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.165e-05/10.45, allocations: 0 / 4.166 GB, free: 209.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.452e-05/10.45, allocations: 16 kB / 4.166 GB, free: 209.9 MB / 1.151 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.004935/10.45, allocations: 4.589 MB / 4.171 GB, free: 205 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001901/10.45, allocations: 4.024 MB / 4.175 GB, free: 200.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003886/10.45, allocations: 341.8 kB / 4.175 GB, free: 199.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003273/10.45, allocations: 190.2 kB / 4.175 GB, free: 199.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004001/10.45, allocations: 297.5 kB / 4.176 GB, free: 199.2 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005735/10.45, allocations: 15.75 kB / 4.176 GB, free: 199.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=36): time 4.048e-06/10.45, allocations: 0 / 4.176 GB, free: 199.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=36): time 0.002082/10.46, allocations: 0.8515 MB / 4.177 GB, free: 198.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/10.46, allocations: 89.09 kB / 4.177 GB, free: 198.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001236/10.46, allocations: 0.895 MB / 4.177 GB, free: 197.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.536e-05/10.46, allocations: 29.7 kB / 4.178 GB, free: 197.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003626/10.46, allocations: 0.5238 MB / 4.178 GB, free: 196.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 9.003e-05/10.46, allocations: 130.1 kB / 4.178 GB, free: 196.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.334e-05/10.46, allocations: 4 kB / 4.178 GB, free: 196.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.197e-05/10.46, allocations: 322 kB / 4.178 GB, free: 196.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000245/10.46, allocations: 209 kB / 4.179 GB, free: 196.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004137/10.46, allocations: 0.5354 MB / 4.179 GB, free: 195.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003756/10.46, allocations: 294.1 kB / 4.179 GB, free: 195.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/10.46, allocations: 4 kB / 4.179 GB, free: 195.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00175/10.46, allocations: 0.9883 MB / 4.18 GB, free: 194.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006151/10.46, allocations: 2.221 MB / 4.183 GB, free: 191.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.079e-05/10.46, allocations: 4 kB / 4.183 GB, free: 191.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005222/10.46, allocations: 287.2 kB / 4.183 GB, free: 191.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003312/10.46, allocations: 83.83 kB / 4.183 GB, free: 191.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001446/10.46, allocations: 1.225 MB / 4.184 GB, free: 190.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001182/10.47, allocations: 87.88 kB / 4.184 GB, free: 190 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.405e-05/10.47, allocations: 28 kB / 4.184 GB, free: 190 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/10.47, allocations: 8 kB / 4.184 GB, free: 190 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001148/10.47, allocations: 0.6832 MB / 4.185 GB, free: 189.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/10.47, allocations: 7.953 kB / 4.185 GB, free: 189.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005086/10.47, allocations: 227.5 kB / 4.185 GB, free: 189.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000311/10.47, allocations: 79.88 kB / 4.185 GB, free: 189 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003548/10.47, allocations: 2.973 MB / 4.188 GB, free: 185.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001052/10.47, allocations: 92.06 kB / 4.188 GB, free: 185.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.994e-05/10.47, allocations: 27.94 kB / 4.188 GB, free: 185.8 MB / 1.151 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 (37): * Single equations (assignments): 35 * 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 {11 12} Notification: Performance of prepare postOptimizeDAE: time 0.0001926/10.47, allocations: 126.1 kB / 4.188 GB, free: 185.7 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001073/10.47, allocations: 0.711 MB / 4.189 GB, free: 184.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001847/10.47, allocations: 110.7 kB / 4.189 GB, free: 184.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001187/10.47, allocations: 0.734 MB / 4.19 GB, free: 184.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.348e-06/10.48, allocations: 7.984 kB / 4.19 GB, free: 184.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/10.48, allocations: 15.89 kB / 4.19 GB, free: 184.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/10.48, allocations: 0 / 4.19 GB, free: 184.1 MB / 1.151 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.002724/10.48, allocations: 2.041 MB / 4.192 GB, free: 181.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/10.48, allocations: 4 kB / 4.192 GB, free: 181.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000254/10.48, allocations: 60.14 kB / 4.192 GB, free: 181.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000308/10.48, allocations: 191.8 kB / 4.192 GB, free: 181.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.701e-05/10.48, allocations: 12 kB / 4.192 GB, free: 181.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007454/10.48, allocations: 0.9501 MB / 4.193 GB, free: 180.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/10.48, allocations: 4 kB / 4.193 GB, free: 180.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009686/10.48, allocations: 0.9285 MB / 4.194 GB, free: 179.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004576/10.48, allocations: 227.7 kB / 4.194 GB, free: 179.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001944/10.48, allocations: 7.984 kB / 4.194 GB, free: 179.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008122/10.48, allocations: 71.77 kB / 4.194 GB, free: 179.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.416e-05/10.48, allocations: 35.91 kB / 4.194 GB, free: 179.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.98e-05/10.48, allocations: 20.12 kB / 4.194 GB, free: 179.3 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0008622/10.48, allocations: 0.6986 MB / 4.195 GB, free: 178.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/10.48, allocations: 0 / 4.195 GB, free: 178.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002128/10.48, allocations: 0.5657 MB / 4.196 GB, free: 178 MB / 1.151 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 (23): * Single equations (assignments): 20 * 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 {11 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003187/10.49, allocations: 3.085 MB / 4.199 GB, free: 174.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002368/10.49, allocations: 1.223 MB / 4.2 GB, free: 173.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/10.49, allocations: 0 / 4.2 GB, free: 173.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004874/10.49, allocations: 288 kB / 4.2 GB, free: 173.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003121/10.49, allocations: 0.5894 MB / 4.201 GB, free: 172.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003452/10.5, allocations: 1.71 MB / 4.202 GB, free: 170.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006772/10.5, allocations: 1.238 MB / 4.204 GB, free: 169.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002003/10.5, allocations: 0.7299 MB / 4.204 GB, free: 168.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003592/10.5, allocations: 331.3 kB / 4.205 GB, free: 168.6 MB / 1.151 GB Notification: Performance of SimCode: time 1.152e-06/10.5, allocations: 0 / 4.205 GB, free: 168.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06835/10.57, allocations: 36.89 MB / 4.241 GB, free: 131.9 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002264/10.57, allocations: 213.4 kB / 4.241 GB, free: 131.7 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.515/14.08, allocations: 0 / 4.241 GB, free: 131.7 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp.fmu > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp_res.mat does not exist to compare? outputFormat=mat