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.264/2.264, allocations: 387.1 MB / 399.7 MB, free: 9.539 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.001692/0.001693, allocations: 180.9 kB / 492.3 MB, free: 0.6523 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.534/1.534, allocations: 221.3 MB / 0.7871 GB, free: 12.96 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.0008307/0.0008309, allocations: 95.22 kB / 0.9267 GB, free: 14.04 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.803e-05/2.817e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2903/0.2903, allocations: 142.3 MB / 1.212 GB, free: 38.46 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.212/1.503, allocations: 459.1 MB / 1.661 GB, free: 3.844 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002741/1.503, allocations: 98.83 kB / 1.661 GB, free: 3.789 MB / 1.073 GB Notification: Performance of FrontEnd - DAE generated: time 5.478/6.981, allocations: 1.372 GB / 3.033 GB, free: 46.66 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.395e-06/6.981, allocations: 0 / 3.033 GB, free: 46.66 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0009294/6.982, allocations: 103.9 kB / 3.033 GB, free: 46.56 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: 508 * Number of variables: 508 Notification: Performance of Generate backend data structure: time 0.01337/6.995, allocations: 3.637 MB / 3.036 GB, free: 42.86 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.817e-05/6.995, allocations: 8.031 kB / 3.036 GB, free: 42.86 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00155/6.997, allocations: 306.5 kB / 3.037 GB, free: 42.55 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01212/7.009, allocations: 1.907 MB / 3.039 GB, free: 40.64 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01494/7.024, allocations: 5.422 MB / 3.044 GB, free: 35.16 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006184/7.025, allocations: 343.4 kB / 3.044 GB, free: 34.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001531/7.026, allocations: 231.9 kB / 3.044 GB, free: 34.57 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0107/7.037, allocations: 3.915 MB / 3.048 GB, free: 30.57 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001148/7.037, allocations: 7.938 kB / 3.048 GB, free: 30.56 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009314/7.038, allocations: 84 kB / 3.048 GB, free: 30.48 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.359e-05/7.038, allocations: 56 kB / 3.048 GB, free: 30.43 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008063/7.046, allocations: 4.329 MB / 3.053 GB, free: 26.09 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.03525/7.081, allocations: 15.92 MB / 3.068 GB, free: 9.535 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00862/7.09, allocations: 3.568 MB / 3.072 GB, free: 5.945 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002764/7.093, allocations: 1.733 MB / 3.073 GB, free: 4.211 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001019/7.094, allocations: 1.263 MB / 3.075 GB, free: 2.668 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003092/7.097, allocations: 1.801 MB / 3.076 GB, free: 0.8516 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003884/7.101, allocations: 429.9 kB / 3.077 GB, free: 440 kB / 1.167 GB Notification: Performance of pre-optimization done (n=154): time 1.675e-05/7.101, allocations: 4 kB / 3.077 GB, free: 436 kB / 1.167 GB Notification: Performance of matching and sorting (n=154): time 0.008757/7.11, allocations: 3.309 MB / 3.08 GB, free: 13.1 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002171/7.11, allocations: 222.9 kB / 3.08 GB, free: 12.83 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01156/7.122, allocations: 3.801 MB / 3.084 GB, free: 9.004 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.001069/7.123, allocations: 77.58 kB / 3.084 GB, free: 8.922 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.003285/7.126, allocations: 1.596 MB / 3.086 GB, free: 7.301 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.001389/7.127, allocations: 0.5276 MB / 3.086 GB, free: 6.766 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006583/7.128, allocations: 36 kB / 3.086 GB, free: 6.73 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0003676/7.129, allocations: 381.9 kB / 3.086 GB, free: 6.352 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003535/7.132, allocations: 1.604 MB / 3.088 GB, free: 4.746 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004213/7.136, allocations: 2.286 MB / 3.09 GB, free: 2.215 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003546/7.14, allocations: 1.696 MB / 3.092 GB, free: 0.5195 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.487e-05/7.14, allocations: 0 / 3.092 GB, free: 0.5195 MB / 1.182 GB Notification: Performance of matching and sorting (n=237) (initialization): time 1.02/8.16, allocations: 4.083 MB / 3.096 GB, free: 194.9 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.001096/8.161, allocations: 3.921 MB / 3.1 GB, free: 190.8 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.178e-05/8.161, allocations: 12.28 kB / 3.1 GB, free: 190.8 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005656/8.162, allocations: 171.5 kB / 3.1 GB, free: 190.8 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004127/8.166, allocations: 0.7666 MB / 3.101 GB, free: 190.8 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001519/8.167, allocations: 1.367 MB / 3.102 GB, free: 189.8 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006052/8.173, allocations: 0.5732 MB / 3.103 GB, free: 189.8 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007293/8.174, allocations: 118.8 kB / 3.103 GB, free: 189.8 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/8.174, allocations: 3.281 kB / 3.103 GB, free: 189.8 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008266/8.182, allocations: 3.749 MB / 3.106 GB, free: 189.7 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-05/8.183, allocations: 23.28 kB / 3.106 GB, free: 189.7 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000641/8.183, allocations: 186.6 kB / 3.107 GB, free: 189.7 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003825/8.187, allocations: 0.7685 MB / 3.107 GB, free: 189.7 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004312/8.191, allocations: 3.655 MB / 3.111 GB, free: 187 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006454/8.198, allocations: 0.5708 MB / 3.111 GB, free: 187 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007866/8.199, allocations: 118.8 kB / 3.112 GB, free: 187 MB / 1.182 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.0009858/8.2, allocations: 224.1 kB / 3.112 GB, free: 186.9 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001535/8.201, allocations: 361.7 kB / 3.112 GB, free: 186.8 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008983/8.21, allocations: 3.857 MB / 3.116 GB, free: 186.6 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.169e-05/8.21, allocations: 27.38 kB / 3.116 GB, free: 186.6 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/8.21, allocations: 3.469 kB / 3.116 GB, free: 186.6 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005927/8.216, allocations: 3.227 MB / 3.119 GB, free: 186.3 MB / 1.182 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.01934/8.236, allocations: 8.041 MB / 3.127 GB, free: 185.8 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.497e-05/8.236, allocations: 1.625 kB / 3.127 GB, free: 185.8 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002811/8.239, allocations: 0.6313 MB / 3.128 GB, free: 185.8 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003635/8.239, allocations: 157.9 kB / 3.128 GB, free: 185.8 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001897/8.239, allocations: 69.31 kB / 3.128 GB, free: 185.8 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008476/8.24, allocations: 1.296 MB / 3.129 GB, free: 184.7 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/8.24, allocations: 7.156 kB / 3.129 GB, free: 184.7 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008391/8.248, allocations: 6.162 MB / 3.135 GB, free: 183.9 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003645/8.252, allocations: 1.163 MB / 3.136 GB, free: 183.5 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007646/8.253, allocations: 46.48 kB / 3.136 GB, free: 183.5 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003451/8.256, allocations: 0.5059 MB / 3.137 GB, free: 183.5 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002846/8.257, allocations: 116.4 kB / 3.137 GB, free: 183.5 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002232/8.257, allocations: 92.34 kB / 3.137 GB, free: 183.5 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.004936/8.262, allocations: 2.96 MB / 3.14 GB, free: 183.3 MB / 1.182 GB Notification: Performance of sort global known variables: time 3.61e-07/8.262, allocations: 0 / 3.14 GB, free: 183.3 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.008598/8.27, allocations: 1.95 MB / 3.142 GB, free: 183.2 MB / 1.182 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.01204/8.282, allocations: 8.12 MB / 3.15 GB, free: 181.4 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.01221/8.295, allocations: 6.249 MB / 3.156 GB, free: 180.9 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-05/8.295, allocations: 1.094 kB / 3.156 GB, free: 180.9 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.003149/8.298, allocations: 1.739 MB / 3.157 GB, free: 180.9 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01203/8.31, allocations: 2.115 MB / 3.159 GB, free: 180.9 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01977/8.33, allocations: 8.201 MB / 3.167 GB, free: 179.5 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003427/8.333, allocations: 3 MB / 3.17 GB, free: 178.7 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.0115/8.345, allocations: 3.093 MB / 3.173 GB, free: 178.7 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003084/8.348, allocations: 1.438 MB / 3.175 GB, free: 178.7 MB / 1.182 GB Notification: Performance of SimCode: time 1.804e-06/8.348, allocations: 0 / 3.175 GB, free: 178.7 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2533/8.601, allocations: 130.2 MB / 3.302 GB, free: 173.8 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002631/8.602, allocations: 252.6 kB / 3.302 GB, free: 173.5 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.662/16.26, allocations: 2.719 kB / 3.302 GB, free: 173.5 MB / 1.182 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