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.165/2.165, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001702/0.001702, allocations: 179 kB / 498.1 MB, free: 5.738 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.736/1.736, allocations: 223.1 MB / 0.7948 GB, free: 18.84 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.0009175/0.0009174, allocations: 96.33 kB / 0.9346 GB, free: 7.152 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003777/0.0003777, allocations: 17.64 kB / 1.084 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.34/0.3404, allocations: 142.4 MB / 1.223 GB, free: 89.48 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.199/1.539, allocations: 429.7 MB / 1.643 GB, free: 3.227 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003166/1.539, allocations: 94.39 kB / 1.643 GB, free: 3.176 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 2.178/3.717, allocations: 0.6391 GB / 2.282 GB, free: 24.95 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.134e-06/3.717, allocations: 0 / 2.282 GB, free: 24.95 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002687/3.717, allocations: 47.98 kB / 2.282 GB, free: 24.91 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: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.006221/3.724, allocations: 2.076 MB / 2.284 GB, free: 22.77 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.241e-05/3.724, allocations: 12.03 kB / 2.284 GB, free: 22.75 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005452/3.724, allocations: 143.7 kB / 2.284 GB, free: 22.61 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003848/3.728, allocations: 0.6301 MB / 2.285 GB, free: 21.97 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004754/3.733, allocations: 1.668 MB / 2.286 GB, free: 20.25 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002266/3.733, allocations: 149.4 kB / 2.286 GB, free: 20.09 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000385/3.734, allocations: 111.9 kB / 2.286 GB, free: 19.98 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003465/3.737, allocations: 1.323 MB / 2.288 GB, free: 18.62 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.566e-05/3.737, allocations: 7.938 kB / 2.288 GB, free: 18.62 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001562/3.737, allocations: 40 kB / 2.288 GB, free: 18.58 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.494e-05/3.737, allocations: 24 kB / 2.288 GB, free: 18.55 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00353/3.741, allocations: 1.374 MB / 2.289 GB, free: 17.18 MB / 1.167 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.007871/3.749, allocations: 5.37 MB / 2.294 GB, free: 11.45 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005652/3.754, allocations: 1.365 MB / 2.296 GB, free: 10.08 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007821/3.755, allocations: 1.251 MB / 2.297 GB, free: 8.555 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001836/3.757, allocations: 0.694 MB / 2.298 GB, free: 7.848 MB / 1.167 GB Notification: Performance of pre-optimization done (n=67): time 3.947e-06/3.757, allocations: 3.938 kB / 2.298 GB, free: 7.844 MB / 1.167 GB Notification: Performance of matching and sorting (n=67): time 0.005103/3.762, allocations: 1.828 MB / 2.299 GB, free: 6.004 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/3.762, allocations: 59.97 kB / 2.299 GB, free: 5.934 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002212/3.764, allocations: 1.147 MB / 2.301 GB, free: 4.781 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001817/3.765, allocations: 41.7 kB / 2.301 GB, free: 4.734 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006212/3.765, allocations: 0.6783 MB / 2.301 GB, free: 4.047 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002403/3.766, allocations: 232.6 kB / 2.301 GB, free: 3.816 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.472e-05/3.766, allocations: 8 kB / 2.301 GB, free: 3.809 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.53e-05/3.766, allocations: 337.9 kB / 2.302 GB, free: 3.473 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001525/3.767, allocations: 0.5523 MB / 2.302 GB, free: 2.918 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001604/3.769, allocations: 0.8102 MB / 2.303 GB, free: 2.012 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001483/3.77, allocations: 0.6002 MB / 2.304 GB, free: 1.406 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/3.77, allocations: 4 kB / 2.304 GB, free: 1.402 MB / 1.167 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.7836/4.554, allocations: 1.438 MB / 2.305 GB, free: 241.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004299/4.554, allocations: 1.194 MB / 2.306 GB, free: 240.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.25e-05/4.554, allocations: 2.656 kB / 2.306 GB, free: 240.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.26e-05/4.555, allocations: 6.969 kB / 2.306 GB, free: 240.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001895/4.556, allocations: 278.9 kB / 2.307 GB, free: 240.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.984e-05/4.556, allocations: 5.203 kB / 2.307 GB, free: 240.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002542/4.559, allocations: 243.3 kB / 2.307 GB, free: 240.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003091/4.559, allocations: 47.3 kB / 2.307 GB, free: 240.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/4.559, allocations: 3.969 kB / 2.307 GB, free: 240.5 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004456/4.564, allocations: 1.294 MB / 2.308 GB, free: 240.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/4.564, allocations: 3 kB / 2.308 GB, free: 240.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/4.564, allocations: 6.938 kB / 2.308 GB, free: 240.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001415/4.565, allocations: 272.5 kB / 2.308 GB, free: 240.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.392e-05/4.565, allocations: 8.453 kB / 2.308 GB, free: 240.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002306/4.568, allocations: 228.8 kB / 2.309 GB, free: 240.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001762/4.568, allocations: 54.83 kB / 2.309 GB, free: 240.5 MB / 1.167 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 () * Number of clocked 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.001125/4.569, allocations: 413.2 kB / 2.309 GB, free: 240.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006084/4.57, allocations: 151.3 kB / 2.309 GB, free: 240.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004878/4.575, allocations: 1.511 MB / 2.311 GB, free: 240.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.418e-05/4.575, allocations: 16.52 kB / 2.311 GB, free: 240.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.204e-05/4.575, allocations: 1.75 kB / 2.311 GB, free: 240.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003797/4.578, allocations: 1.329 MB / 2.312 GB, free: 240.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01013/4.589, allocations: 3.38 MB / 2.315 GB, free: 239.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-05/4.589, allocations: 4.469 kB / 2.315 GB, free: 239.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00134/4.59, allocations: 241.3 kB / 2.316 GB, free: 239.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.293e-05/4.59, allocations: 7.875 kB / 2.316 GB, free: 239.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001123/4.59, allocations: 30.69 kB / 2.316 GB, free: 239.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.762e-05/4.59, allocations: 11.17 kB / 2.316 GB, free: 239.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.746e-06/4.59, allocations: 6.938 kB / 2.316 GB, free: 239.4 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006787/4.597, allocations: 2.678 MB / 2.318 GB, free: 238.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001395/4.598, allocations: 483.3 kB / 2.319 GB, free: 238.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000214/4.599, allocations: 22.03 kB / 2.319 GB, free: 238.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001586/4.6, allocations: 185.3 kB / 2.319 GB, free: 238.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002256/4.6, allocations: 77.38 kB / 2.319 GB, free: 238.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001309/4.601, allocations: 47.58 kB / 2.319 GB, free: 238.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001802/4.602, allocations: 0.9252 MB / 2.32 GB, free: 238.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.6e-07/4.602, allocations: 3.25 kB / 2.32 GB, free: 238.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003092/4.605, allocations: 0.8506 MB / 2.321 GB, free: 238.2 MB / 1.167 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) * Number of clocked states: 0 () * 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.008223/4.614, allocations: 5.026 MB / 2.326 GB, free: 235.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.005806/4.62, allocations: 2.046 MB / 2.328 GB, free: 235.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.381e-05/4.62, allocations: 3.281 kB / 2.328 GB, free: 235.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.00204/4.622, allocations: 0.7168 MB / 2.328 GB, free: 235.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004343/4.626, allocations: 0.7583 MB / 2.329 GB, free: 235.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02004/4.646, allocations: 11.47 MB / 2.34 GB, free: 230.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009339/4.647, allocations: 1.26 MB / 2.341 GB, free: 230.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.00217/4.649, allocations: 380.5 kB / 2.342 GB, free: 230 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007784/4.65, allocations: 0.5846 MB / 2.342 GB, free: 230 MB / 1.167 GB Notification: Performance of SimCode: time 2.374e-06/4.65, allocations: 0 / 2.342 GB, free: 230 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0849/4.735, allocations: 47.65 MB / 2.389 GB, free: 228.9 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002255/4.735, allocations: 210.1 kB / 2.389 GB, free: 228.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.689/8.424, allocations: 1.594 kB / 2.389 GB, free: 228.7 MB / 1.167 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