Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009937/0.0009937, allocations: 103.1 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 173.3 kB / 15.95 MB, free: 212 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.577/2.577, allocations: 409.2 MB / 0.6838 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003823/0.0003823, allocations: 12 kB / 0.8375 GB, free: 6.539 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8352/0.8356, allocations: 146.8 MB / 0.9809 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow): time 0.1759/1.012, allocations: 135.7 MB / 1.113 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.002594/1.014, allocations: 1.684 MB / 1.115 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002615/1.014, allocations: 11.94 kB / 1.115 GB, free: 12.51 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0005726/1.015, allocations: 179.1 kB / 1.115 GB, free: 12.33 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001151/1.016, allocations: 0.4985 MB / 1.116 GB, free: 11.83 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.000994/1.017, allocations: 412.4 kB / 1.116 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001547/1.019, allocations: 1.507 MB / 1.118 GB, free: 9.926 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002238/1.021, allocations: 2.18 MB / 1.12 GB, free: 7.738 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008472/1.022, allocations: 0.6968 MB / 1.12 GB, free: 7.039 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004591/1.022, allocations: 493.8 kB / 1.121 GB, free: 6.555 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 6.534e-05/1.022, allocations: 36 kB / 1.121 GB, free: 6.52 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007021/1.023, allocations: 415.4 kB / 1.121 GB, free: 6.113 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002122/1.023, allocations: 255.1 kB / 1.122 GB, free: 5.863 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001946/1.024, allocations: 229.1 kB / 1.122 GB, free: 5.633 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0008137/1.024, allocations: 0.9899 MB / 1.123 GB, free: 4.641 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/1.024, allocations: 4 kB / 1.123 GB, free: 4.637 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.573e-06/1.024, allocations: 0 / 1.123 GB, free: 4.637 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.424e-05/1.024, allocations: 0 / 1.123 GB, free: 4.637 MB / 0.8731 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.001859/1.026, allocations: 1.315 MB / 1.124 GB, free: 3.258 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/1.026, allocations: 11.98 kB / 1.124 GB, free: 3.246 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.688e-05/1.026, allocations: 94.47 kB / 1.124 GB, free: 3.145 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006601/1.027, allocations: 194.4 kB / 1.124 GB, free: 2.953 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001342/1.028, allocations: 0.7962 MB / 1.125 GB, free: 2.102 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.619e-05/1.028, allocations: 45 kB / 1.125 GB, free: 2.059 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.912e-05/1.029, allocations: 63.94 kB / 1.125 GB, free: 1.996 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001036/1.03, allocations: 0.8278 MB / 1.126 GB, free: 1.094 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/1.03, allocations: 0 / 1.126 GB, free: 1.094 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.936e-05/1.03, allocations: 24 kB / 1.126 GB, free: 1.07 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.413e-05/1.03, allocations: 15.95 kB / 1.126 GB, free: 1.055 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008534/1.031, allocations: 0.5735 MB / 1.127 GB, free: 492 kB / 0.8731 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.003846/1.034, allocations: 4.246 MB / 1.131 GB, free: 11.97 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008474/1.035, allocations: 467.3 kB / 1.131 GB, free: 11.5 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 7.124e-05/1.035, allocations: 8 kB / 1.131 GB, free: 11.5 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006111/1.036, allocations: 331.9 kB / 1.131 GB, free: 11.15 MB / 0.8887 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003892/1.036, allocations: 35.59 kB / 1.132 GB, free: 11.11 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=33): time 2.144e-06/1.036, allocations: 0 / 1.132 GB, free: 11.11 MB / 0.8887 GB Notification: Performance of matching and sorting (n=33): time 0.00509/1.042, allocations: 1.574 MB / 1.133 GB, free: 9.512 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.79e-05/1.042, allocations: 106.8 kB / 1.133 GB, free: 9.383 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001543/1.043, allocations: 1.151 MB / 1.134 GB, free: 8.215 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 7.632e-05/1.043, allocations: 33.7 kB / 1.134 GB, free: 8.176 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004567/1.044, allocations: 488.4 kB / 1.135 GB, free: 7.695 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/1.044, allocations: 114.4 kB / 1.135 GB, free: 7.582 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.547e-05/1.044, allocations: 12 kB / 1.135 GB, free: 7.57 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000129/1.044, allocations: 330 kB / 1.135 GB, free: 7.242 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003581/1.044, allocations: 205 kB / 1.135 GB, free: 7.039 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000598/1.045, allocations: 0.5111 MB / 1.136 GB, free: 6.398 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004544/1.045, allocations: 318 kB / 1.136 GB, free: 6.082 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/1.045, allocations: 0 / 1.136 GB, free: 6.082 MB / 0.8887 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002231/1.048, allocations: 1.061 MB / 1.137 GB, free: 5.004 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008117/1.049, allocations: 2.132 MB / 1.139 GB, free: 2.707 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/1.049, allocations: 4 kB / 1.139 GB, free: 2.703 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001399/1.05, allocations: 408.5 kB / 1.14 GB, free: 2.305 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003753/1.05, allocations: 99.91 kB / 1.14 GB, free: 2.207 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00143/1.052, allocations: 1.11 MB / 1.141 GB, free: 1.07 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009407/1.053, allocations: 87.75 kB / 1.141 GB, free: 0.9844 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.877e-05/1.053, allocations: 31.98 kB / 1.141 GB, free: 0.9531 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/1.053, allocations: 5.562 kB / 1.141 GB, free: 0.9492 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001366/1.054, allocations: 0.7915 MB / 1.142 GB, free: 152 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.086e-06/1.054, allocations: 8 kB / 1.142 GB, free: 144 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005594/1.055, allocations: 237.1 kB / 1.142 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000346/1.055, allocations: 95.88 kB / 1.142 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0038/1.059, allocations: 3.133 MB / 1.145 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009714/1.06, allocations: 83.91 kB / 1.145 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.721e-05/1.06, allocations: 20 kB / 1.145 GB, free: 12.44 MB / 0.9044 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 () * Number of clocked 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 {10 11} Notification: Performance of prepare postOptimizeDAE: time 0.0005938/1.061, allocations: 476.7 kB / 1.146 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001318/1.061, allocations: 106.7 kB / 1.146 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001261/1.062, allocations: 0.7606 MB / 1.147 GB, free: 11.08 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/1.062, allocations: 4 kB / 1.147 GB, free: 11.08 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/1.062, allocations: 7.953 kB / 1.147 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/1.062, allocations: 192 / 1.147 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001572/1.064, allocations: 1.154 MB / 1.148 GB, free: 9.836 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/1.064, allocations: 4.219 kB / 1.148 GB, free: 9.832 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002555/1.064, allocations: 67.88 kB / 1.148 GB, free: 9.766 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005243/1.064, allocations: 281.5 kB / 1.148 GB, free: 9.492 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.682e-05/1.064, allocations: 11.98 kB / 1.148 GB, free: 9.48 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001031/1.065, allocations: 1.04 MB / 1.149 GB, free: 8.414 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/1.066, allocations: 7.953 kB / 1.149 GB, free: 8.406 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001282/1.067, allocations: 0.9166 MB / 1.15 GB, free: 7.41 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004245/1.067, allocations: 231.7 kB / 1.15 GB, free: 7.164 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/1.067, allocations: 8 kB / 1.15 GB, free: 7.156 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005993/1.068, allocations: 63.86 kB / 1.15 GB, free: 7.094 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/1.068, allocations: 43.89 kB / 1.15 GB, free: 7.051 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.598e-05/1.068, allocations: 8 kB / 1.15 GB, free: 7.043 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0009953/1.069, allocations: 0.8119 MB / 1.151 GB, free: 6.223 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.583e-06/1.069, allocations: 0 / 1.151 GB, free: 6.223 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001319/1.07, allocations: 475.4 kB / 1.152 GB, free: 5.758 MB / 0.9044 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) * Number of clocked states: 0 () * 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 {10 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.002019/1.072, allocations: 1.927 MB / 1.153 GB, free: 3.762 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002835/1.075, allocations: 1.252 MB / 1.155 GB, free: 2.477 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/1.075, allocations: 0 / 1.155 GB, free: 2.477 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0006869/1.076, allocations: 304.2 kB / 1.155 GB, free: 2.18 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00298/1.079, allocations: 0.6277 MB / 1.156 GB, free: 1.562 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01346/1.092, allocations: 10.25 MB / 1.166 GB, free: 6.965 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008376/1.093, allocations: 1.205 MB / 1.167 GB, free: 5.727 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001165/1.095, allocations: 336.1 kB / 1.167 GB, free: 5.395 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003941/1.095, allocations: 323.3 kB / 1.167 GB, free: 5.082 MB / 0.92 GB Notification: Performance of SimCode: time 9.32e-07/1.095, allocations: 4 kB / 1.167 GB, free: 5.078 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08854/1.184, allocations: 30.36 MB / 1.197 GB, free: 7.164 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002161/1.184, allocations: 270.5 kB / 1.197 GB, free: 6.809 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.559/3.742, allocations: 0 / 1.197 GB, free: 6.809 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlow.fmu > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow_res.mat does not exist to compare? outputFormat=mat