Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR.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.Fluid.Chillers.Examples.ElectricEIR,fileNamePrefix="Buildings_9_Buildings_Fluid_Chillers_Examples_ElectricEIR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.ElectricEIR,fileNamePrefix="Buildings_9_Buildings_Fluid_Chillers_Examples_ElectricEIR",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.358/2.358, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.002466/0.002466, allocations: 180.8 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.585/1.585, allocations: 221.5 MB / 0.7824 GB, free: 0.9688 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.00109/0.00109, allocations: 111.7 kB / 0.9219 GB, free: 2.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.244e-05/2.247e-05, allocations: 6.031 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2928/0.2928, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.219/1.512, allocations: 429 MB / 1.625 GB, free: 9.336 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002685/1.512, allocations: 88.83 kB / 1.625 GB, free: 9.293 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 2.928/4.441, allocations: 0.6336 GB / 2.259 GB, free: 248.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.593e-06/4.441, allocations: 0 / 2.259 GB, free: 248.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0003096/4.441, allocations: 44.42 kB / 2.259 GB, free: 248.8 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: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.004344/4.446, allocations: 1.761 MB / 2.26 GB, free: 248.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/4.446, allocations: 10.19 kB / 2.26 GB, free: 248.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003547/4.449, allocations: 0.6318 MB / 2.261 GB, free: 248.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003237/4.452, allocations: 1.649 MB / 2.263 GB, free: 247.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001199/4.453, allocations: 109.2 kB / 2.263 GB, free: 247.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001413/4.453, allocations: 61.03 kB / 2.263 GB, free: 247.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001473/4.454, allocations: 0.9039 MB / 2.264 GB, free: 247.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001485/4.456, allocations: 0.9874 MB / 2.265 GB, free: 247.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.844e-05/4.456, allocations: 0 / 2.265 GB, free: 247.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.019e-05/4.456, allocations: 2.156 kB / 2.265 GB, free: 247.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.911e-05/4.456, allocations: 27.16 kB / 2.265 GB, free: 247.5 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.006048/4.462, allocations: 5.201 MB / 2.27 GB, free: 245.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004268/4.466, allocations: 1.076 MB / 2.271 GB, free: 245.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005699/4.467, allocations: 424.8 kB / 2.271 GB, free: 245.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007136/4.467, allocations: 1.245 MB / 2.272 GB, free: 243.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007433/4.468, allocations: 0.5121 MB / 2.273 GB, free: 243.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=67): time 2.214e-06/4.468, allocations: 0 / 2.273 GB, free: 243.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=67): time 0.00185/4.47, allocations: 0.8715 MB / 2.274 GB, free: 243.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/4.47, allocations: 118.3 kB / 2.274 GB, free: 243.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00121/4.471, allocations: 0.9967 MB / 2.275 GB, free: 243.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.664e-05/4.471, allocations: 29.58 kB / 2.275 GB, free: 243.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000521/4.472, allocations: 0.6791 MB / 2.276 GB, free: 243.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001884/4.472, allocations: 221.5 kB / 2.276 GB, free: 242.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.612e-05/4.472, allocations: 0 / 2.276 GB, free: 242.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.825e-05/4.472, allocations: 332.4 kB / 2.276 GB, free: 242.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004457/4.473, allocations: 336.9 kB / 2.276 GB, free: 242.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000584/4.473, allocations: 0.5717 MB / 2.277 GB, free: 242.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008377/4.474, allocations: 406.3 kB / 2.277 GB, free: 242.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/4.474, allocations: 3.812 kB / 2.277 GB, free: 242.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001736/4.476, allocations: 0.9826 MB / 2.278 GB, free: 242.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002456/4.476, allocations: 1.194 MB / 2.279 GB, free: 241 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/4.476, allocations: 5.969 kB / 2.279 GB, free: 241 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/4.476, allocations: 7.156 kB / 2.279 GB, free: 241 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001286/4.478, allocations: 273.4 kB / 2.28 GB, free: 241 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/4.478, allocations: 10.7 kB / 2.28 GB, free: 241 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001669/4.479, allocations: 211.5 kB / 2.28 GB, free: 241 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001044/4.479, allocations: 47.16 kB / 2.28 GB, free: 241 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/4.479, allocations: 3.938 kB / 2.28 GB, free: 241 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001543/4.481, allocations: 0.8186 MB / 2.281 GB, free: 241 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/4.481, allocations: 3.188 kB / 2.281 GB, free: 241 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/4.481, allocations: 7.781 kB / 2.281 GB, free: 241 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001218/4.482, allocations: 275 kB / 2.281 GB, free: 241 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/4.482, allocations: 7.25 kB / 2.281 GB, free: 241 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001634/4.484, allocations: 201.2 kB / 2.281 GB, free: 241 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.273e-05/4.484, allocations: 46.45 kB / 2.281 GB, free: 241 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,chi.on) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 86 * 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.0002382/4.484, allocations: 127.4 kB / 2.281 GB, free: 240.9 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001598/4.486, allocations: 0.8653 MB / 2.282 GB, free: 240.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002243/4.486, allocations: 135.5 kB / 2.282 GB, free: 240.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002053/4.488, allocations: 1.058 MB / 2.283 GB, free: 240.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-05/4.488, allocations: 18.56 kB / 2.283 GB, free: 240.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/4.488, allocations: 0 / 2.283 GB, free: 240.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00133/4.49, allocations: 0.8923 MB / 2.284 GB, free: 240.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004775/4.494, allocations: 2.913 MB / 2.287 GB, free: 239.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/4.494, allocations: 3.969 kB / 2.287 GB, free: 239.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001194/4.496, allocations: 244.8 kB / 2.287 GB, free: 239.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.737e-05/4.496, allocations: 7.688 kB / 2.287 GB, free: 239.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.884e-05/4.496, allocations: 22.25 kB / 2.287 GB, free: 239.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.031e-05/4.496, allocations: 13.81 kB / 2.287 GB, free: 239.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/4.496, allocations: 10.81 kB / 2.287 GB, free: 239.6 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002666/4.498, allocations: 1.984 MB / 2.289 GB, free: 238.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008163/4.499, allocations: 471.5 kB / 2.29 GB, free: 238.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003168/4.5, allocations: 11.17 kB / 2.29 GB, free: 238.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001507/4.501, allocations: 164.4 kB / 2.29 GB, free: 238.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/4.501, allocations: 68.84 kB / 2.29 GB, free: 238.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-05/4.501, allocations: 53.2 kB / 2.29 GB, free: 238.6 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0009706/4.502, allocations: 0.7603 MB / 2.291 GB, free: 238.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.3e-07/4.502, allocations: 0 / 2.291 GB, free: 238.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002284/4.505, allocations: 0.821 MB / 2.292 GB, free: 238.4 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (chi.vol1.dynBal.U,chi.vol2.dynBal.U) * Number of discrete variables: 4 ($whenCondition1,pulse.T_start,pulse.count,chi.on) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.003825/4.508, allocations: 4.365 MB / 2.296 GB, free: 235.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001894/4.51, allocations: 1.413 MB / 2.297 GB, free: 235.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/4.51, allocations: 0 / 2.297 GB, free: 235.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007045/4.511, allocations: 490.8 kB / 2.298 GB, free: 235.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003082/4.514, allocations: 0.6368 MB / 2.298 GB, free: 235.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004085/4.518, allocations: 2.272 MB / 2.301 GB, free: 235 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006333/4.519, allocations: 1.266 MB / 2.302 GB, free: 234.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002003/4.521, allocations: 455 kB / 2.302 GB, free: 234.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006736/4.522, allocations: 0.5546 MB / 2.303 GB, free: 234.2 MB / 1.151 GB Notification: Performance of SimCode: time 9.71e-07/4.522, allocations: 0 / 2.303 GB, free: 234.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0736/4.595, allocations: 41.51 MB / 2.343 GB, free: 232.9 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001812/4.595, allocations: 166.2 kB / 2.344 GB, free: 232.7 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.458/8.053, allocations: 3.938 kB / 2.344 GB, free: 232.7 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Chillers_Examples_ElectricEIR_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Chillers_Examples_ElectricEIR.fmu > Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR_res.mat does not exist to compare? outputFormat=mat