Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Examples_ElectricEIR_HeatRecovery",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Examples_ElectricEIR_HeatRecovery",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.427/2.427, allocations: 390.3 MB / 402.8 MB, free: 6.664 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.001794/0.001794, allocations: 184.9 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.488/1.488, allocations: 221.3 MB / 0.7915 GB, free: 5.395 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.0008694/0.0008692, allocations: 87.95 kB / 0.9317 GB, free: 5.711 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.471e-05/3.486e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3082/0.3083, allocations: 143 MB / 1.219 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.117/1.425, allocations: 431.7 MB / 1.64 GB, free: 2.695 MB / 1.089 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00032/1.425, allocations: 87.95 kB / 1.641 GB, free: 2.609 MB / 1.089 GB Notification: Performance of FrontEnd - DAE generated: time 2.58/4.005, allocations: 0.638 GB / 2.279 GB, free: 243.5 MB / 1.135 GB Notification: Performance of FrontEnd: time 1.653e-06/4.006, allocations: 3.406 kB / 2.279 GB, free: 243.5 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.0002356/4.006, allocations: 44.64 kB / 2.279 GB, free: 243.5 MB / 1.135 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 236 * Number of variables: 236 Notification: Performance of Generate backend data structure: time 0.004487/4.01, allocations: 1.772 MB / 2.28 GB, free: 242.4 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/4.01, allocations: 7.688 kB / 2.28 GB, free: 242.4 MB / 1.135 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003779/4.011, allocations: 149.2 kB / 2.28 GB, free: 242.2 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003787/4.014, allocations: 0.573 MB / 2.281 GB, free: 242 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00416/4.019, allocations: 1.65 MB / 2.283 GB, free: 240.9 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000201/4.019, allocations: 157.8 kB / 2.283 GB, free: 240.8 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003047/4.019, allocations: 101 kB / 2.283 GB, free: 240.8 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002115/4.021, allocations: 1.155 MB / 2.284 GB, free: 240.1 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.034e-05/4.021, allocations: 7.844 kB / 2.284 GB, free: 240.1 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001224/4.022, allocations: 38.86 kB / 2.284 GB, free: 240.1 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.11e-05/4.022, allocations: 28.08 kB / 2.284 GB, free: 240.1 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001633/4.023, allocations: 1.018 MB / 2.285 GB, free: 239.6 MB / 1.135 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.007175/4.03, allocations: 5.532 MB / 2.29 GB, free: 235 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00438/4.035, allocations: 1.138 MB / 2.292 GB, free: 234.6 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007832/4.036, allocations: 472.8 kB / 2.292 GB, free: 234.4 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008654/4.036, allocations: 1.165 MB / 2.293 GB, free: 233 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009589/4.037, allocations: 0.5638 MB / 2.294 GB, free: 232.7 MB / 1.135 GB Notification: Performance of pre-optimization done (n=69): time 3.767e-06/4.037, allocations: 0 / 2.294 GB, free: 232.7 MB / 1.135 GB Notification: Performance of matching and sorting (n=69): time 0.009375/4.047, allocations: 1.707 MB / 2.295 GB, free: 231.9 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.233e-05/4.047, allocations: 116.1 kB / 2.295 GB, free: 231.8 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002155/4.049, allocations: 1.148 MB / 2.297 GB, free: 231.2 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 0.0001623/4.049, allocations: 41.55 kB / 2.297 GB, free: 231.2 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005738/4.05, allocations: 0.6739 MB / 2.297 GB, free: 230.6 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002467/4.05, allocations: 235.3 kB / 2.298 GB, free: 230.4 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.312e-05/4.05, allocations: 15.16 kB / 2.298 GB, free: 230.4 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 7.158e-05/4.05, allocations: 340.8 kB / 2.298 GB, free: 230 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005589/4.051, allocations: 364 kB / 2.298 GB, free: 229.9 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007395/4.052, allocations: 0.6182 MB / 2.299 GB, free: 229.4 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006138/4.052, allocations: 410.8 kB / 2.299 GB, free: 229.2 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/4.052, allocations: 0 / 2.299 GB, free: 229.2 MB / 1.135 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.009195/4.061, allocations: 1.863 MB / 2.301 GB, free: 228.4 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002573/4.062, allocations: 1.2 MB / 2.302 GB, free: 227.1 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/4.062, allocations: 6.812 kB / 2.302 GB, free: 227.1 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008246/4.063, allocations: 494.9 kB / 2.303 GB, free: 226.9 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007771/4.063, allocations: 186.1 kB / 2.303 GB, free: 226.8 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0123/4.076, allocations: 3.376 MB / 2.306 GB, free: 224.5 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002327/4.078, allocations: 239.1 kB / 2.306 GB, free: 224.4 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002279/4.078, allocations: 47.94 kB / 2.306 GB, free: 224.4 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/4.078, allocations: 3.062 kB / 2.306 GB, free: 224.4 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008828/4.087, allocations: 1.707 MB / 2.308 GB, free: 223.6 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/4.087, allocations: 2.844 kB / 2.308 GB, free: 223.6 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007643/4.088, allocations: 490.7 kB / 2.309 GB, free: 223.4 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007284/4.089, allocations: 191.4 kB / 2.309 GB, free: 223.4 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01204/4.101, allocations: 3.383 MB / 2.312 GB, free: 221 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002429/4.103, allocations: 217.9 kB / 2.312 GB, free: 220.9 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002291/4.103, allocations: 48.28 kB / 2.312 GB, free: 220.9 MB / 1.135 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 (81): * Single equations (assignments): 79 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 8} Notification: Performance of prepare postOptimizeDAE: time 0.0004542/4.104, allocations: 159.4 kB / 2.312 GB, free: 220.8 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005804/4.104, allocations: 148.8 kB / 2.313 GB, free: 220.7 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00996/4.114, allocations: 1.925 MB / 2.314 GB, free: 219.7 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.461e-05/4.114, allocations: 15.11 kB / 2.314 GB, free: 219.7 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.824e-06/4.114, allocations: 0 / 2.314 GB, free: 219.7 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008827/4.123, allocations: 1.733 MB / 2.316 GB, free: 218.9 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01329/4.137, allocations: 3.996 MB / 2.32 GB, free: 216.3 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.268e-05/4.137, allocations: 2.406 kB / 2.32 GB, free: 216.3 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006638/4.137, allocations: 155.8 kB / 2.32 GB, free: 216.2 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007759/4.138, allocations: 0.4895 MB / 2.321 GB, free: 216 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001133/4.138, allocations: 29.14 kB / 2.321 GB, free: 216 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01315/4.151, allocations: 3.458 MB / 2.324 GB, free: 213.6 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.804e-05/4.151, allocations: 9.656 kB / 2.324 GB, free: 213.6 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01031/4.162, allocations: 2.926 MB / 2.327 GB, free: 211.8 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001542/4.163, allocations: 490.1 kB / 2.327 GB, free: 211.3 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006858/4.164, allocations: 19.27 kB / 2.327 GB, free: 211.3 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002117/4.166, allocations: 178.6 kB / 2.328 GB, free: 211.3 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002178/4.166, allocations: 81 kB / 2.328 GB, free: 211.2 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001338/4.167, allocations: 48.75 kB / 2.328 GB, free: 211.2 MB / 1.135 GB Notification: Performance of sorting global known variables: time 0.001755/4.168, allocations: 0.9188 MB / 2.329 GB, free: 210.7 MB / 1.135 GB Notification: Performance of sort global known variables: time 2.21e-07/4.168, allocations: 4 kB / 2.329 GB, free: 210.7 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.003579/4.172, allocations: 0.9544 MB / 2.33 GB, free: 210.3 MB / 1.135 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 (67): * Single equations (assignments): 58 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0121/4.184, allocations: 5.284 MB / 2.335 GB, free: 205 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.005523/4.19, allocations: 1.992 MB / 2.337 GB, free: 203 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 9.908e-06/4.19, allocations: 4 kB / 2.337 GB, free: 203 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.003193/4.193, allocations: 0.9008 MB / 2.338 GB, free: 202 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004147/4.197, allocations: 0.7543 MB / 2.338 GB, free: 201.3 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006328/4.203, allocations: 2.608 MB / 2.341 GB, free: 198.6 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007369/4.204, allocations: 1.28 MB / 2.342 GB, free: 197.3 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.002084/4.206, allocations: 452.6 kB / 2.343 GB, free: 196.9 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006383/4.207, allocations: 0.5578 MB / 2.343 GB, free: 196.4 MB / 1.135 GB Notification: Performance of SimCode: time 1.182e-06/4.207, allocations: 0 / 2.343 GB, free: 196.4 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09068/4.298, allocations: 63.59 MB / 2.405 GB, free: 134.5 MB / 1.135 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001506/4.298, allocations: 224.5 kB / 2.405 GB, free: 134.2 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.436/8.733, allocations: 0 / 2.405 GB, free: 134.2 MB / 1.135 GB (rm -f Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Chillers_Examples_ElectricEIR_HeatRecovery_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Chillers_Examples_ElectricEIR_HeatRecovery.fmu > Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery_res.mat does not exist to compare? outputFormat=mat