Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.292/2.292, allocations: 387.1 MB / 399.7 MB, free: 9.465 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.00106/0.00106, allocations: 180.8 kB / 492.3 MB, free: 0.6016 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.557/1.557, allocations: 221.3 MB / 0.7871 GB, free: 12.92 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.0008811/0.0008811, allocations: 107.2 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.818e-05/4.821e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/0.3078, allocations: 142.4 MB / 1.212 GB, free: 38.39 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.744/6.051, allocations: 1.872 GB / 3.084 GB, free: 360.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000288/6.052, allocations: 89.88 kB / 3.084 GB, free: 360.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.646/9.697, allocations: 1.089 GB / 4.173 GB, free: 204.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.694e-06/9.697, allocations: 0 / 4.173 GB, free: 204.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001059/9.698, allocations: 35.98 kB / 4.173 GB, free: 204.4 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.003566/9.701, allocations: 1.279 MB / 4.175 GB, free: 203 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/9.701, allocations: 12.03 kB / 4.175 GB, free: 203 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001988/9.701, allocations: 98.52 kB / 4.175 GB, free: 202.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009508/9.702, allocations: 194.4 kB / 4.175 GB, free: 202.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003275/9.706, allocations: 1.456 MB / 4.176 GB, free: 201.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.746e-05/9.706, allocations: 49.31 kB / 4.176 GB, free: 201.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/9.706, allocations: 64 kB / 4.176 GB, free: 201.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001145/9.707, allocations: 0.9262 MB / 4.177 GB, free: 200.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/9.707, allocations: 4 kB / 4.177 GB, free: 200.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.106e-05/9.707, allocations: 24 kB / 4.177 GB, free: 200.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.312e-05/9.707, allocations: 12 kB / 4.177 GB, free: 200 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008892/9.708, allocations: 0.7064 MB / 4.178 GB, free: 199.3 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.003828/9.712, allocations: 4.709 MB / 4.183 GB, free: 194.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001546/9.713, allocations: 3.967 MB / 4.187 GB, free: 189.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003341/9.714, allocations: 326.2 kB / 4.187 GB, free: 189.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002574/9.714, allocations: 198.2 kB / 4.187 GB, free: 188.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003615/9.714, allocations: 305.5 kB / 4.187 GB, free: 188.6 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003393/9.715, allocations: 31.69 kB / 4.187 GB, free: 188.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=36): time 2.044e-06/9.715, allocations: 0 / 4.187 GB, free: 188.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=36): time 0.001279/9.716, allocations: 0.7662 MB / 4.188 GB, free: 187.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.564e-05/9.716, allocations: 81.11 kB / 4.188 GB, free: 187.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001057/9.717, allocations: 1.032 MB / 4.189 GB, free: 186.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.195e-05/9.717, allocations: 41.7 kB / 4.189 GB, free: 186.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002906/9.717, allocations: 0.5127 MB / 4.19 GB, free: 186.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 7.405e-05/9.718, allocations: 126.2 kB / 4.19 GB, free: 186 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.276e-05/9.718, allocations: 12 kB / 4.19 GB, free: 186 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.053e-05/9.718, allocations: 330 kB / 4.19 GB, free: 185.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002315/9.718, allocations: 189 kB / 4.19 GB, free: 185.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003933/9.718, allocations: 0.5302 MB / 4.191 GB, free: 184.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003104/9.719, allocations: 319.3 kB / 4.191 GB, free: 184.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/9.719, allocations: 0 / 4.191 GB, free: 184.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00121/9.72, allocations: 0.9544 MB / 4.192 GB, free: 183.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004172/9.72, allocations: 2.235 MB / 4.194 GB, free: 181.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/9.72, allocations: 8 kB / 4.194 GB, free: 181.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005908/9.721, allocations: 338.6 kB / 4.195 GB, free: 180.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003079/9.721, allocations: 75.83 kB / 4.195 GB, free: 180.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001257/9.722, allocations: 1.116 MB / 4.196 GB, free: 179.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001009/9.723, allocations: 103.6 kB / 4.196 GB, free: 179.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.145e-05/9.724, allocations: 31.98 kB / 4.196 GB, free: 179.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/9.724, allocations: 4 kB / 4.196 GB, free: 179.4 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001125/9.725, allocations: 0.7785 MB / 4.197 GB, free: 178.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/9.725, allocations: 8.641 kB / 4.197 GB, free: 178.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004857/9.725, allocations: 250.6 kB / 4.197 GB, free: 178.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002793/9.725, allocations: 75.89 kB / 4.197 GB, free: 178.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003143/9.729, allocations: 3.079 MB / 4.2 GB, free: 175.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000945/9.73, allocations: 107.8 kB / 4.2 GB, free: 175 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.465e-05/9.73, allocations: 28.11 kB / 4.2 GB, free: 174.9 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.000154/9.73, allocations: 148.7 kB / 4.2 GB, free: 174.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001188/9.73, allocations: 114.8 kB / 4.2 GB, free: 174.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001167/9.731, allocations: 0.7851 MB / 4.201 GB, free: 173.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/9.731, allocations: 4 kB / 4.201 GB, free: 173.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-06/9.731, allocations: 0 / 4.201 GB, free: 173.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/9.731, allocations: 3.984 kB / 4.201 GB, free: 173.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 postOpt removeSimpleEquations (simulation): time 0.00238/9.734, allocations: 2.163 MB / 4.203 GB, free: 171.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/9.734, allocations: 0 / 4.203 GB, free: 171.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002376/9.734, allocations: 55.89 kB / 4.203 GB, free: 171.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004296/9.734, allocations: 228.8 kB / 4.204 GB, free: 171.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.514e-05/9.734, allocations: 11.98 kB / 4.204 GB, free: 171.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006893/9.735, allocations: 0.9229 MB / 4.204 GB, free: 170.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/9.735, allocations: 7.984 kB / 4.204 GB, free: 170.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009624/9.736, allocations: 0.97 MB / 4.205 GB, free: 169.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003648/9.736, allocations: 235.7 kB / 4.206 GB, free: 169 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/9.736, allocations: 8 kB / 4.206 GB, free: 169 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006845/9.737, allocations: 79.75 kB / 4.206 GB, free: 168.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.313e-05/9.737, allocations: 39.84 kB / 4.206 GB, free: 168.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.39e-05/9.737, allocations: 15.98 kB / 4.206 GB, free: 168.9 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.000881/9.738, allocations: 0.8184 MB / 4.207 GB, free: 168 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.21e-07/9.738, allocations: 0 / 4.207 GB, free: 168 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00184/9.74, allocations: 0.6089 MB / 4.207 GB, free: 167.4 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.002596/9.743, allocations: 2.958 MB / 4.21 GB, free: 164.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002258/9.745, allocations: 1.259 MB / 4.211 GB, free: 163.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.86e-06/9.745, allocations: 4 kB / 4.211 GB, free: 163.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004978/9.745, allocations: 292.5 kB / 4.212 GB, free: 162.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003362/9.749, allocations: 0.6565 MB / 4.212 GB, free: 162.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002789/9.752, allocations: 1.767 MB / 4.214 GB, free: 160.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005113/9.752, allocations: 1.234 MB / 4.215 GB, free: 159.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001812/9.754, allocations: 0.8045 MB / 4.216 GB, free: 158.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003158/9.754, allocations: 339.3 kB / 4.216 GB, free: 157.9 MB / 1.151 GB Notification: Performance of SimCode: time 7.91e-07/9.754, allocations: 0 / 4.216 GB, free: 157.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0764/9.831, allocations: 52.51 MB / 4.268 GB, free: 105.8 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000152/9.831, allocations: 241.6 kB / 4.268 GB, free: 105.4 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.263/14.09, allocations: 0 / 4.268 GB, free: 105.4 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp.fmu > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp_res.mat does not exist to compare? outputFormat=mat