Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.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.ParallelDpOptimised,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised",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.001138/0.001137, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001265/0.001265, allocations: 177.3 kB / 15.94 MB, free: 228 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.569/1.569, allocations: 223.2 MB / 239.9 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.684/2.684, allocations: 409.2 MB / 0.6838 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003557/0.0003559, allocations: 11.98 kB / 0.8375 GB, free: 6.531 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9162/0.9166, allocations: 146.8 MB / 0.9809 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.1594/1.076, allocations: 135.7 MB / 1.113 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.004823/1.081, allocations: 3.121 MB / 1.116 GB, free: 11.1 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003433/1.081, allocations: 15.81 kB / 1.116 GB, free: 11.08 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0006466/1.082, allocations: 179.2 kB / 1.117 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001665/1.084, allocations: 0.5024 MB / 1.117 GB, free: 10.4 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001349/1.085, allocations: 463.7 kB / 1.118 GB, free: 9.957 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002033/1.087, allocations: 1.502 MB / 1.119 GB, free: 8.453 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002689/1.09, allocations: 2.196 MB / 1.121 GB, free: 6.246 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001296/1.091, allocations: 0.7045 MB / 1.122 GB, free: 5.539 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005477/1.092, allocations: 493.9 kB / 1.122 GB, free: 5.055 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 7.422e-05/1.092, allocations: 36 kB / 1.122 GB, free: 5.02 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009872/1.093, allocations: 415.4 kB / 1.123 GB, free: 4.613 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002661/1.093, allocations: 255.1 kB / 1.123 GB, free: 4.363 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002558/1.093, allocations: 233.1 kB / 1.123 GB, free: 4.129 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001061/1.094, allocations: 0.9899 MB / 1.124 GB, free: 3.137 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/1.094, allocations: 0 / 1.124 GB, free: 3.137 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.084e-06/1.094, allocations: 0 / 1.124 GB, free: 3.137 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.168e-05/1.094, allocations: 0 / 1.124 GB, free: 3.137 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.002304/1.097, allocations: 1.323 MB / 1.125 GB, free: 1.75 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 7.861e-05/1.097, allocations: 11.98 kB / 1.125 GB, free: 1.738 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001174/1.097, allocations: 94.52 kB / 1.126 GB, free: 1.637 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000742/1.098, allocations: 182.5 kB / 1.126 GB, free: 1.457 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001549/1.099, allocations: 0.8041 MB / 1.127 GB, free: 0.5977 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.734e-05/1.099, allocations: 45 kB / 1.127 GB, free: 0.5547 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.633e-05/1.099, allocations: 56 kB / 1.127 GB, free: 0.5 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001202/1.1, allocations: 0.8278 MB / 1.127 GB, free: 15.6 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/1.101, allocations: 0 / 1.127 GB, free: 15.6 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.374e-05/1.101, allocations: 27.95 kB / 1.127 GB, free: 15.57 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.714e-05/1.101, allocations: 12 kB / 1.127 GB, free: 15.56 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00102/1.102, allocations: 0.5735 MB / 1.128 GB, free: 14.98 MB / 0.8887 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.004525/1.106, allocations: 4.243 MB / 1.132 GB, free: 10.48 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008439/1.107, allocations: 466.1 kB / 1.133 GB, free: 10.01 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 6.325e-05/1.107, allocations: 11.98 kB / 1.133 GB, free: 10 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005507/1.108, allocations: 339.8 kB / 1.133 GB, free: 9.645 MB / 0.8887 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002652/1.108, allocations: 31.69 kB / 1.133 GB, free: 9.613 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=33): time 2.575e-06/1.108, allocations: 0 / 1.133 GB, free: 9.613 MB / 0.8887 GB Notification: Performance of matching and sorting (n=33): time 0.001431/1.109, allocations: 0.7202 MB / 1.134 GB, free: 8.887 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.733e-05/1.109, allocations: 107 kB / 1.134 GB, free: 8.758 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00141/1.111, allocations: 1.151 MB / 1.135 GB, free: 7.59 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 6.298e-05/1.111, allocations: 37.7 kB / 1.135 GB, free: 7.547 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004166/1.111, allocations: 484.4 kB / 1.135 GB, free: 7.07 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/1.111, allocations: 118.4 kB / 1.136 GB, free: 6.953 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.599e-05/1.112, allocations: 16 kB / 1.136 GB, free: 6.938 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001433/1.112, allocations: 322 kB / 1.136 GB, free: 6.617 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000359/1.112, allocations: 205 kB / 1.136 GB, free: 6.414 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000652/1.113, allocations: 0.5187 MB / 1.137 GB, free: 5.766 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004953/1.113, allocations: 321.8 kB / 1.137 GB, free: 5.445 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.211e-06/1.113, allocations: 0 / 1.137 GB, free: 5.445 MB / 0.8887 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001237/1.114, allocations: 0.7278 MB / 1.138 GB, free: 4.703 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.001117/1.116, allocations: 2.137 MB / 1.14 GB, free: 2.402 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/1.116, allocations: 4 kB / 1.14 GB, free: 2.398 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.622e-05/1.116, allocations: 8 kB / 1.14 GB, free: 2.391 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005389/1.116, allocations: 119.8 kB / 1.14 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.559e-05/1.116, allocations: 11.94 kB / 1.14 GB, free: 2.262 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009536/1.117, allocations: 91.75 kB / 1.14 GB, free: 2.172 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.866e-05/1.117, allocations: 27.98 kB / 1.14 GB, free: 2.145 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/1.117, allocations: 4 kB / 1.14 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001001/1.118, allocations: 0.5883 MB / 1.14 GB, free: 1.547 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/1.118, allocations: 4 kB / 1.14 GB, free: 1.543 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/1.118, allocations: 12 kB / 1.141 GB, free: 1.531 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004782/1.119, allocations: 111.9 kB / 1.141 GB, free: 1.422 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.421e-05/1.119, allocations: 19.86 kB / 1.141 GB, free: 1.402 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009058/1.12, allocations: 91.8 kB / 1.141 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.844e-05/1.12, allocations: 24 kB / 1.141 GB, free: 1.289 MB / 0.8887 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_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 54 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006724/1.12, allocations: 469.9 kB / 1.141 GB, free: 0.8203 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001407/1.121, allocations: 102.8 kB / 1.141 GB, free: 0.7188 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009586/1.122, allocations: 0.524 MB / 1.142 GB, free: 196 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.705e-06/1.122, allocations: 4 kB / 1.142 GB, free: 192 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.888e-06/1.122, allocations: 3.953 kB / 1.142 GB, free: 188 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/1.122, allocations: 3.984 kB / 1.142 GB, free: 184 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001823/1.123, allocations: 1.162 MB / 1.143 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/1.123, allocations: 4 kB / 1.143 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003503/1.124, allocations: 71.88 kB / 1.143 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.176e-06/1.124, allocations: 7.938 kB / 1.143 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.412e-05/1.124, allocations: 8 kB / 1.143 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.252e-06/1.124, allocations: 12.16 kB / 1.143 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/1.124, allocations: 0 / 1.143 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001115/1.125, allocations: 0.6895 MB / 1.144 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004303/1.125, allocations: 227.8 kB / 1.144 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001146/1.126, allocations: 11.98 kB / 1.144 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006258/1.126, allocations: 71.77 kB / 1.144 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/1.126, allocations: 35.86 kB / 1.144 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.064e-05/1.126, allocations: 15.98 kB / 1.144 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001192/1.128, allocations: 0.8159 MB / 1.145 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.6e-07/1.128, allocations: 0 / 1.145 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001245/1.129, allocations: 427.4 kB / 1.145 GB, free: 12.46 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_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 31 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001965/1.131, allocations: 1.786 MB / 1.147 GB, free: 10.6 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001734/1.133, allocations: 0.8826 MB / 1.148 GB, free: 9.695 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/1.133, allocations: 0 / 1.148 GB, free: 9.695 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0004155/1.133, allocations: 244 kB / 1.148 GB, free: 9.461 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003244/1.136, allocations: 0.6272 MB / 1.149 GB, free: 8.836 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01345/1.15, allocations: 9.797 MB / 1.158 GB, free: 14.7 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008223/1.151, allocations: 1.205 MB / 1.159 GB, free: 13.46 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001368/1.152, allocations: 432 kB / 1.16 GB, free: 13.04 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004673/1.152, allocations: 343.3 kB / 1.16 GB, free: 12.7 MB / 0.92 GB Notification: Performance of SimCode: time 1.092e-06/1.152, allocations: 0 / 1.16 GB, free: 12.7 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0516/1.204, allocations: 28.47 MB / 1.188 GB, free: 0.6445 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002178/1.204, allocations: 250.8 kB / 1.188 GB, free: 316 kB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.745/3.95, allocations: 0 / 1.188 GB, free: 316 kB / 0.9356 GB (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised.fmu > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised_res.mat does not exist to compare? outputFormat=mat