Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.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.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel,fileNamePrefix="Buildings_9_Buildings_Applications_BaseClasses_Equipment_Validation_ElectricChillerParallel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel,fileNamePrefix="Buildings_9_Buildings_Applications_BaseClasses_Equipment_Validation_ElectricChillerParallel",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.206/2.206, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.001277/0.001277, allocations: 172.9 kB / 487.4 MB, free: 5.035 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.472/1.472, allocations: 221.5 MB / 0.7824 GB, free: 0.9414 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009935/0.0009933, allocations: 99.22 kB / 0.9219 GB, free: 2.164 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.763e-05/1.765e-05, allocations: 0 / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2953/0.2954, allocations: 142.4 MB / 1.206 GB, free: 43.83 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.361/1.656, allocations: 458.5 MB / 1.654 GB, free: 12.19 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004119/1.657, allocations: 98.22 kB / 1.654 GB, free: 12.14 MB / 1.073 GB Notification: Performance of FrontEnd - DAE generated: time 5.241/6.898, allocations: 1.366 GB / 3.02 GB, free: 37.98 MB / 1.151 GB Notification: Performance of FrontEnd: time 4.348e-06/6.898, allocations: 0 / 3.02 GB, free: 37.98 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0008982/6.899, allocations: 103.8 kB / 3.02 GB, free: 37.88 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: 508 * Number of variables: 508 Notification: Performance of Generate backend data structure: time 0.01539/6.914, allocations: 3.639 MB / 3.024 GB, free: 34.18 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.529e-05/6.914, allocations: 12.02 kB / 3.024 GB, free: 34.17 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01212/6.926, allocations: 1.911 MB / 3.026 GB, free: 32.25 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01329/6.94, allocations: 5.43 MB / 3.031 GB, free: 26.76 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000316/6.94, allocations: 246.7 kB / 3.031 GB, free: 26.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007418/6.941, allocations: 135.9 kB / 3.031 GB, free: 26.36 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006582/6.948, allocations: 4.251 MB / 3.035 GB, free: 22.11 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005665/6.953, allocations: 3.363 MB / 3.039 GB, free: 18.66 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.08e-05/6.953, allocations: 7.938 kB / 3.039 GB, free: 18.65 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003326/6.954, allocations: 11.94 kB / 3.039 GB, free: 18.64 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.518e-05/6.954, allocations: 59.98 kB / 3.039 GB, free: 18.58 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.03038/6.984, allocations: 15.48 MB / 3.054 GB, free: 2.488 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008997/6.993, allocations: 3.533 MB / 3.057 GB, free: 14.92 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003497/6.997, allocations: 1.706 MB / 3.059 GB, free: 13.21 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001648/6.998, allocations: 1.267 MB / 3.06 GB, free: 11.67 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003355/7.002, allocations: 1.751 MB / 3.062 GB, free: 9.906 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00414/7.006, allocations: 366.4 kB / 3.062 GB, free: 9.547 MB / 1.167 GB Notification: Performance of pre-optimization done (n=154): time 8.767e-06/7.006, allocations: 0 / 3.062 GB, free: 9.547 MB / 1.167 GB Notification: Performance of matching and sorting (n=154): time 0.008646/7.015, allocations: 3.371 MB / 3.066 GB, free: 6.156 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001582/7.015, allocations: 230.9 kB / 3.066 GB, free: 5.879 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008606/7.024, allocations: 3.383 MB / 3.069 GB, free: 2.512 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.001251/7.025, allocations: 29.7 kB / 3.069 GB, free: 2.477 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.002825/7.028, allocations: 1.603 MB / 3.071 GB, free: 0.8477 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001557/7.029, allocations: 0.5158 MB / 3.071 GB, free: 332 kB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000223/7.03, allocations: 0 / 3.071 GB, free: 332 kB / 1.167 GB Notification: Performance of setup shared object (initialization): time 1.006/8.036, allocations: 386.9 kB / 3.072 GB, free: 185.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004428/8.04, allocations: 1.589 MB / 3.073 GB, free: 185.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004816/8.045, allocations: 2.232 MB / 3.075 GB, free: 184.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0049/8.05, allocations: 1.736 MB / 3.077 GB, free: 184.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.113e-05/8.05, allocations: 2.656 kB / 3.077 GB, free: 184.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=237) (initialization): time 0.01253/8.063, allocations: 4.048 MB / 3.081 GB, free: 184.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001633/8.064, allocations: 3.868 MB / 3.085 GB, free: 180.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.826e-05/8.065, allocations: 18.41 kB / 3.085 GB, free: 180.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006042/8.065, allocations: 169.5 kB / 3.085 GB, free: 180.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004815/8.07, allocations: 0.7677 MB / 3.086 GB, free: 180.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002235/8.072, allocations: 1.452 MB / 3.087 GB, free: 179.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007656/8.08, allocations: 0.5128 MB / 3.088 GB, free: 179.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001221/8.081, allocations: 119.1 kB / 3.088 GB, free: 179.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.944e-05/8.081, allocations: 3.656 kB / 3.088 GB, free: 179.3 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009751/8.091, allocations: 3.613 MB / 3.091 GB, free: 179.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.768e-05/8.091, allocations: 12.97 kB / 3.091 GB, free: 179.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006987/8.092, allocations: 179.6 kB / 3.091 GB, free: 179.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004534/8.096, allocations: 0.7698 MB / 3.092 GB, free: 179.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004698/8.101, allocations: 3.524 MB / 3.096 GB, free: 176.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006532/8.108, allocations: 0.5139 MB / 3.096 GB, free: 176.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009025/8.109, allocations: 109.6 kB / 3.096 GB, free: 176.7 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,chiPar.on[1],$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (220): * Single equations (assignments): 213 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 4,3 4} Notification: Performance of prepare postOptimizeDAE: time 0.001951/8.111, allocations: 160.7 kB / 3.096 GB, free: 176.6 MB / 1.167 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008825/8.119, allocations: 3.273 MB / 3.1 GB, free: 176.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001804/8.121, allocations: 347.6 kB / 3.1 GB, free: 176.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008548/8.13, allocations: 3.762 MB / 3.104 GB, free: 176 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-05/8.13, allocations: 22.09 kB / 3.104 GB, free: 176 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/8.13, allocations: 0 / 3.104 GB, free: 176 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004666/8.135, allocations: 3.183 MB / 3.107 GB, free: 175.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.02003/8.155, allocations: 7.726 MB / 3.114 GB, free: 175.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.901e-05/8.155, allocations: 2.906 kB / 3.114 GB, free: 175.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003424/8.158, allocations: 0.6245 MB / 3.115 GB, free: 175.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004774/8.159, allocations: 128.8 kB / 3.115 GB, free: 175.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002322/8.159, allocations: 42.52 kB / 3.115 GB, free: 175.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001368/8.16, allocations: 1.319 MB / 3.116 GB, free: 174.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.608e-05/8.16, allocations: 2.656 kB / 3.116 GB, free: 174.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01425/8.175, allocations: 6.058 MB / 3.122 GB, free: 173.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004027/8.179, allocations: 1.14 MB / 3.123 GB, free: 173 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001225/8.18, allocations: 14.52 kB / 3.123 GB, free: 173 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00471/8.185, allocations: 495 kB / 3.124 GB, free: 173 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003833/8.185, allocations: 121.2 kB / 3.124 GB, free: 173 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000361/8.185, allocations: 91.28 kB / 3.124 GB, free: 173 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.007238/8.193, allocations: 2.592 MB / 3.127 GB, free: 172.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.603e-06/8.193, allocations: 0 / 3.127 GB, free: 172.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.01333/8.206, allocations: 1.889 MB / 3.128 GB, free: 172.8 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 8 (chiPar.chi[1].vol1.dynBal.U,chiPar.chi[1].vol2.dynBal.U,chiPar.chi[2].vol1.dynBal.U,chiPar.chi[2].vol2.dynBal.U,chiPar.filter[1].x[1],chiPar.filter[1].x[2],chiPar.filter[2].x[1],chiPar.filter[2].x[2]) * Number of discrete variables: 4 ($whenCondition1,chiPar.on[1],pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (162): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 4,3 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0191/8.225, allocations: 7.998 MB / 3.136 GB, free: 171 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0159/8.241, allocations: 6.088 MB / 3.142 GB, free: 170.5 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.624e-05/8.241, allocations: 3.969 kB / 3.142 GB, free: 170.5 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.003434/8.245, allocations: 1.698 MB / 3.144 GB, free: 170.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01377/8.258, allocations: 1.825 MB / 3.146 GB, free: 170.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02775/8.286, allocations: 7.974 MB / 3.153 GB, free: 169.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006541/8.293, allocations: 2.994 MB / 3.156 GB, free: 168.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.01477/8.308, allocations: 2.925 MB / 3.159 GB, free: 168.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004552/8.312, allocations: 1.429 MB / 3.161 GB, free: 168.3 MB / 1.167 GB Notification: Performance of SimCode: time 2.515e-06/8.312, allocations: 0 / 3.161 GB, free: 168.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1959/8.508, allocations: 110 MB / 3.268 GB, free: 163.8 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001808/8.509, allocations: 200.6 kB / 3.268 GB, free: 163.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.308/15.82, allocations: 2.812 kB / 3.268 GB, free: 163.6 MB / 1.167 GB (rm -f Buildings_9_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.pipe ; mkfifo Buildings_9_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.pipe ; head -c 1048576 < Buildings_9_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.pipe >> ../files/Buildings_9_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel_res.mat --tempDir=temp_Buildings_9_Buildings_Applications_BaseClasses_Equipment_Validation_ElectricChillerParallel_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Applications_BaseClasses_Equipment_Validation_ElectricChillerParallel.fmu > Buildings_9_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel_res.mat does not exist to compare? outputFormat=mat