Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.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.SeriesParallelFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow",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.334/2.334, allocations: 390.3 MB / 402.8 MB, free: 6.695 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.001407/0.001407, allocations: 176.9 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.526/1.526, allocations: 221.3 MB / 0.7915 GB, free: 5.414 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.001303/0.001303, allocations: 83.97 kB / 0.9317 GB, free: 5.738 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.376e-05/3.38e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3008/0.3008, allocations: 143 MB / 1.219 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.689/5.99, allocations: 1.87 GB / 3.089 GB, free: 436.1 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002581/5.99, allocations: 90.56 kB / 3.089 GB, free: 436.1 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.958/9.948, allocations: 1.08 GB / 4.169 GB, free: 258.5 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.623e-06/9.948, allocations: 0 / 4.169 GB, free: 258.5 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001977/9.948, allocations: 31.98 kB / 4.169 GB, free: 258.5 MB / 1.167 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.004937/9.953, allocations: 1.276 MB / 4.17 GB, free: 257.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.734e-05/9.953, allocations: 15.95 kB / 4.17 GB, free: 257.1 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004338/9.954, allocations: 103.7 kB / 4.17 GB, free: 257 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001426/9.955, allocations: 202.4 kB / 4.17 GB, free: 256.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004527/9.96, allocations: 1.417 MB / 4.172 GB, free: 255.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.835e-05/9.96, allocations: 49.31 kB / 4.172 GB, free: 255.3 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001865/9.96, allocations: 68 kB / 4.172 GB, free: 255.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001384/9.961, allocations: 0.9215 MB / 4.173 GB, free: 254.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.396e-05/9.961, allocations: 4 kB / 4.173 GB, free: 254.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.537e-05/9.961, allocations: 24 kB / 4.173 GB, free: 254.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.464e-05/9.961, allocations: 16 kB / 4.173 GB, free: 254.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001004/9.963, allocations: 0.7064 MB / 4.173 GB, free: 253.5 MB / 1.167 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.004813/9.967, allocations: 4.727 MB / 4.178 GB, free: 248.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001751/9.969, allocations: 4.027 MB / 4.182 GB, free: 243.6 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003623/9.969, allocations: 325.9 kB / 4.182 GB, free: 243.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003004/9.97, allocations: 194.2 kB / 4.182 GB, free: 243 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003784/9.97, allocations: 309.2 kB / 4.183 GB, free: 242.7 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005295/9.971, allocations: 35.61 kB / 4.183 GB, free: 242.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=36): time 3.506e-06/9.971, allocations: 0 / 4.183 GB, free: 242.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=36): time 0.001496/9.972, allocations: 0.7384 MB / 4.184 GB, free: 241.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/9.972, allocations: 85.11 kB / 4.184 GB, free: 241.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001352/9.974, allocations: 1.035 MB / 4.185 GB, free: 240.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 6.097e-05/9.974, allocations: 37.7 kB / 4.185 GB, free: 240.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003359/9.974, allocations: 0.5166 MB / 4.185 GB, free: 240.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 8.969e-05/9.974, allocations: 126.2 kB / 4.185 GB, free: 240.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.628e-05/9.974, allocations: 12 kB / 4.185 GB, free: 240.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.74e-05/9.974, allocations: 322 kB / 4.186 GB, free: 239.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002422/9.975, allocations: 189 kB / 4.186 GB, free: 239.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004248/9.975, allocations: 0.5365 MB / 4.186 GB, free: 238.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003581/9.975, allocations: 299.2 kB / 4.187 GB, free: 238.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/9.975, allocations: 4 kB / 4.187 GB, free: 238.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001361/9.977, allocations: 0.9391 MB / 4.188 GB, free: 237.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005641/9.977, allocations: 2.225 MB / 4.19 GB, free: 235.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-05/9.977, allocations: 8 kB / 4.19 GB, free: 235.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005851/9.978, allocations: 282.5 kB / 4.19 GB, free: 234.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000382/9.978, allocations: 87.83 kB / 4.19 GB, free: 234.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001459/9.98, allocations: 1.654 MB / 4.192 GB, free: 233.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001186/9.981, allocations: 107.9 kB / 4.192 GB, free: 233 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.767e-05/9.981, allocations: 35.94 kB / 4.192 GB, free: 233 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/9.981, allocations: 5.094 kB / 4.192 GB, free: 233 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001145/9.982, allocations: 0.7519 MB / 4.193 GB, free: 232.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/9.982, allocations: 8.125 kB / 4.193 GB, free: 232.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004366/9.983, allocations: 221.9 kB / 4.193 GB, free: 232 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002658/9.983, allocations: 79.83 kB / 4.193 GB, free: 231.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003217/9.986, allocations: 2.894 MB / 4.196 GB, free: 228.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001199/9.987, allocations: 103.8 kB / 4.196 GB, free: 228.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.84e-05/9.987, allocations: 28 kB / 4.196 GB, free: 228.8 MB / 1.167 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): 37 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 10} Notification: Performance of prepare postOptimizeDAE: time 0.0002257/9.988, allocations: 133.1 kB / 4.196 GB, free: 228.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002464/9.988, allocations: 118.5 kB / 4.196 GB, free: 228.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00145/9.989, allocations: 0.7478 MB / 4.197 GB, free: 227.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/9.989, allocations: 4 kB / 4.197 GB, free: 227.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/9.989, allocations: 3.984 kB / 4.197 GB, free: 227.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/9.989, allocations: 11.92 kB / 4.197 GB, free: 227.7 MB / 1.167 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.003451/9.993, allocations: 2.112 MB / 4.199 GB, free: 225.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.135e-06/9.993, allocations: 4 kB / 4.199 GB, free: 225.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002693/9.993, allocations: 55.97 kB / 4.199 GB, free: 225.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004046/9.994, allocations: 200.5 kB / 4.199 GB, free: 225.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.604e-05/9.994, allocations: 12.25 kB / 4.199 GB, free: 225.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001046/9.995, allocations: 1.47 MB / 4.201 GB, free: 223.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/9.995, allocations: 4 kB / 4.201 GB, free: 223.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001222/9.996, allocations: 0.9238 MB / 4.201 GB, free: 222.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008255/9.997, allocations: 231.7 kB / 4.202 GB, free: 222.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003629/9.997, allocations: 8 kB / 4.202 GB, free: 222.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001071/9.998, allocations: 87.66 kB / 4.202 GB, free: 222.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001504/9.998, allocations: 35.95 kB / 4.202 GB, free: 222.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-05/9.999, allocations: 11.94 kB / 4.202 GB, free: 222.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001441/10, allocations: 0.8182 MB / 4.203 GB, free: 221.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.8e-07/10, allocations: 0 / 4.203 GB, free: 221.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002929/10, allocations: 0.6011 MB / 4.203 GB, free: 220.9 MB / 1.167 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): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {9 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.003934/10.01, allocations: 2.904 MB / 4.206 GB, free: 217.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002962/10.01, allocations: 1.248 MB / 4.207 GB, free: 216.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.684e-06/10.01, allocations: 0 / 4.207 GB, free: 216.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005953/10.01, allocations: 288.2 kB / 4.208 GB, free: 216.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00365/10.01, allocations: 0.6485 MB / 4.208 GB, free: 215.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003863/10.02, allocations: 1.775 MB / 4.21 GB, free: 213.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007097/10.02, allocations: 1.235 MB / 4.211 GB, free: 212.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002342/10.02, allocations: 0.8123 MB / 4.212 GB, free: 211.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004281/10.02, allocations: 335.3 kB / 4.212 GB, free: 211.4 MB / 1.167 GB Notification: Performance of SimCode: time 1.252e-06/10.02, allocations: 0 / 4.212 GB, free: 211.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08861/10.11, allocations: 51.4 MB / 4.262 GB, free: 160.4 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000233/10.11, allocations: 242.8 kB / 4.263 GB, free: 160.1 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.942/14.05, allocations: 0 / 4.263 GB, free: 160.1 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow.fmu > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow_res.mat does not exist to compare? outputFormat=mat