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.242/2.242, allocations: 387.1 MB / 399.7 MB, free: 9.469 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.001029/0.001029, allocations: 176.8 kB / 492.3 MB, free: 0.5977 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.51/1.51, allocations: 221.3 MB / 0.7871 GB, free: 12.91 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.0009661/0.0009659, allocations: 91.94 kB / 0.9267 GB, free: 13.99 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.165e-05/3.167e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.2849, allocations: 142.3 MB / 1.212 GB, free: 38.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.192/1.477, allocations: 429.6 MB / 1.632 GB, free: 0.918 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002625/1.477, allocations: 87.98 kB / 1.632 GB, free: 0.875 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 2.681/4.158, allocations: 0.6372 GB / 2.269 GB, free: 249.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.372e-06/4.158, allocations: 0 / 2.269 GB, free: 249.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002691/4.158, allocations: 47.86 kB / 2.269 GB, free: 249.7 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.005454/4.163, allocations: 1.758 MB / 2.271 GB, free: 249 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.538e-05/4.164, allocations: 11.66 kB / 2.271 GB, free: 249 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004431/4.164, allocations: 145.4 kB / 2.271 GB, free: 248.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004/4.168, allocations: 0.6311 MB / 2.272 GB, free: 248.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00438/4.172, allocations: 1.651 MB / 2.273 GB, free: 248.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001978/4.173, allocations: 144 kB / 2.274 GB, free: 248.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000276/4.173, allocations: 103.2 kB / 2.274 GB, free: 248.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002004/4.175, allocations: 1.114 MB / 2.275 GB, free: 248.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.836e-05/4.175, allocations: 0 / 2.275 GB, free: 248.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001099/4.175, allocations: 43.59 kB / 2.275 GB, free: 248.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.723e-05/4.175, allocations: 24.72 kB / 2.275 GB, free: 248.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001441/4.177, allocations: 0.9541 MB / 2.276 GB, free: 248.3 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.006399/4.183, allocations: 5.375 MB / 2.281 GB, free: 245.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004141/4.187, allocations: 1.103 MB / 2.282 GB, free: 245.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006393/4.188, allocations: 446.9 kB / 2.283 GB, free: 245.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006997/4.189, allocations: 1.239 MB / 2.284 GB, free: 244.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007394/4.189, allocations: 0.539 MB / 2.284 GB, free: 244.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=67): time 3.326e-06/4.189, allocations: 0 / 2.284 GB, free: 244.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=67): time 0.001733/4.191, allocations: 0.8756 MB / 2.285 GB, free: 244.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.314e-05/4.191, allocations: 113.2 kB / 2.285 GB, free: 244.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001838/4.193, allocations: 1.138 MB / 2.286 GB, free: 244 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001326/4.193, allocations: 40.58 kB / 2.286 GB, free: 244 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005877/4.194, allocations: 0.6756 MB / 2.287 GB, free: 243.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002107/4.194, allocations: 229.1 kB / 2.287 GB, free: 243.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.625e-05/4.194, allocations: 11.19 kB / 2.287 GB, free: 243.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.564e-05/4.194, allocations: 335.7 kB / 2.288 GB, free: 243.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005149/4.195, allocations: 349.3 kB / 2.288 GB, free: 243.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006581/4.195, allocations: 0.5954 MB / 2.289 GB, free: 243.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005563/4.196, allocations: 395.9 kB / 2.289 GB, free: 243.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/4.196, allocations: 3.312 kB / 2.289 GB, free: 243.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001795/4.198, allocations: 1.027 MB / 2.29 GB, free: 242.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003334/4.198, allocations: 1.199 MB / 2.291 GB, free: 241.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/4.198, allocations: 0 / 2.291 GB, free: 241.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.722e-05/4.198, allocations: 10.19 kB / 2.291 GB, free: 241.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001287/4.199, allocations: 271 kB / 2.291 GB, free: 241.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.945e-05/4.199, allocations: 12.5 kB / 2.291 GB, free: 241.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001838/4.201, allocations: 237.4 kB / 2.292 GB, free: 241.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001279/4.201, allocations: 47.97 kB / 2.292 GB, free: 241.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/4.201, allocations: 4.844 kB / 2.292 GB, free: 241.6 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001365/4.203, allocations: 0.8755 MB / 2.292 GB, free: 241.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/4.203, allocations: 2.938 kB / 2.292 GB, free: 241.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/4.203, allocations: 11.42 kB / 2.292 GB, free: 241.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001194/4.204, allocations: 278.2 kB / 2.293 GB, free: 241.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.436e-05/4.204, allocations: 7.719 kB / 2.293 GB, free: 241.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001794/4.206, allocations: 228.2 kB / 2.293 GB, free: 241.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/4.206, allocations: 50.8 kB / 2.293 GB, free: 241.6 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.0002621/4.206, allocations: 155.8 kB / 2.293 GB, free: 241.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003549/4.206, allocations: 145.9 kB / 2.293 GB, free: 241.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001934/4.208, allocations: 1.091 MB / 2.294 GB, free: 241.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-05/4.208, allocations: 15.06 kB / 2.294 GB, free: 241.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/4.208, allocations: 5.875 kB / 2.294 GB, free: 241.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001166/4.21, allocations: 0.9034 MB / 2.295 GB, free: 241.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004863/4.215, allocations: 3.085 MB / 2.298 GB, free: 240.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.276e-06/4.215, allocations: 3.781 kB / 2.298 GB, free: 240.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001134/4.216, allocations: 242.7 kB / 2.299 GB, free: 240.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.03e-05/4.216, allocations: 10.53 kB / 2.299 GB, free: 240.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.322e-05/4.216, allocations: 30.7 kB / 2.299 GB, free: 240.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.657e-05/4.216, allocations: 13.2 kB / 2.299 GB, free: 240.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/4.216, allocations: 5.188 kB / 2.299 GB, free: 240.2 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002749/4.219, allocations: 2.054 MB / 2.301 GB, free: 239.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001062/4.22, allocations: 481.6 kB / 2.301 GB, free: 239.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004032/4.22, allocations: 23.56 kB / 2.301 GB, free: 239.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001698/4.222, allocations: 182.9 kB / 2.301 GB, free: 239.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001549/4.222, allocations: 73.28 kB / 2.301 GB, free: 239.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001104/4.222, allocations: 48.47 kB / 2.301 GB, free: 239.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001437/4.224, allocations: 0.913 MB / 2.302 GB, free: 239 MB / 1.151 GB Notification: Performance of sort global known variables: time 7.31e-07/4.224, allocations: 0 / 2.302 GB, free: 239 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002812/4.226, allocations: 0.8465 MB / 2.303 GB, free: 238.9 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.00406/4.23, allocations: 4.405 MB / 2.307 GB, free: 236.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002163/4.233, allocations: 1.465 MB / 2.309 GB, free: 236.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/4.233, allocations: 3.969 kB / 2.309 GB, free: 236.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007664/4.233, allocations: 0.511 MB / 2.309 GB, free: 236.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003834/4.237, allocations: 0.7416 MB / 2.31 GB, free: 236.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004872/4.242, allocations: 2.363 MB / 2.312 GB, free: 235.4 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007058/4.243, allocations: 1.267 MB / 2.314 GB, free: 234.7 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002373/4.245, allocations: 485.3 kB / 2.314 GB, free: 234.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007322/4.246, allocations: 0.5617 MB / 2.315 GB, free: 234.7 MB / 1.151 GB Notification: Performance of SimCode: time 6.62e-07/4.246, allocations: 0 / 2.315 GB, free: 234.7 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08047/4.326, allocations: 50.31 MB / 2.364 GB, free: 232.8 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001451/4.327, allocations: 186.6 kB / 2.364 GB, free: 232.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.121/8.448, allocations: 4 kB / 2.364 GB, free: 232.6 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