Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.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_AirCooled,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Examples_ElectricEIR_AirCooled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Examples_ElectricEIR_AirCooled",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.517/2.517, allocations: 393.5 MB / 408.4 MB, free: 11.08 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.001139/0.001139, allocations: 187.8 kB / 0.4901 GB, free: 2.238 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.632/1.632, allocations: 223.1 MB / 0.7992 GB, free: 14.73 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.001263/0.001263, allocations: 106 kB / 0.9396 GB, free: 1.93 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003632/0.0003631, allocations: 10.16 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3321/0.3324, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.229/5.562, allocations: 2.219 GB / 3.449 GB, free: 229.7 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00035/5.562, allocations: 95.95 kB / 3.449 GB, free: 229.6 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.634/9.196, allocations: 1.063 GB / 4.511 GB, free: 33.22 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.687e-06/9.196, allocations: 4 kB / 4.511 GB, free: 33.21 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0005401/9.197, allocations: 67.92 kB / 4.512 GB, free: 33.15 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: 484 * Number of variables: 484 Notification: Performance of Generate backend data structure: time 0.01247/9.209, allocations: 3.259 MB / 4.515 GB, free: 29.81 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.764e-05/9.209, allocations: 8.031 kB / 4.515 GB, free: 29.8 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001052/9.21, allocations: 278.2 kB / 4.515 GB, free: 29.52 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006935/9.217, allocations: 0.9755 MB / 4.516 GB, free: 28.55 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006341/9.223, allocations: 2.118 MB / 4.518 GB, free: 26.36 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002903/9.224, allocations: 227.1 kB / 4.518 GB, free: 26.12 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007107/9.225, allocations: 199.9 kB / 4.518 GB, free: 25.93 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006309/9.231, allocations: 2.427 MB / 4.521 GB, free: 23.44 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-05/9.231, allocations: 7.938 kB / 4.521 GB, free: 23.43 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000403/9.231, allocations: 87.89 kB / 4.521 GB, free: 23.35 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.611e-05/9.231, allocations: 67.7 kB / 4.521 GB, free: 23.28 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006133/9.238, allocations: 2.762 MB / 4.524 GB, free: 20.52 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.01552/9.253, allocations: 8.873 MB / 4.532 GB, free: 11.21 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00708/9.26, allocations: 2.369 MB / 4.535 GB, free: 8.836 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006701/9.261, allocations: 0.8077 MB / 4.535 GB, free: 7.863 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002667/9.264, allocations: 1.27 MB / 4.537 GB, free: 6.574 MB / 1.167 GB Notification: Performance of pre-optimization done (n=160): time 6.051e-06/9.264, allocations: 4 kB / 4.537 GB, free: 6.57 MB / 1.167 GB Notification: Performance of matching and sorting (n=160): time 0.03033/9.294, allocations: 5.813 MB / 4.542 GB, free: 0.7031 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.561e-05/9.294, allocations: 256.6 kB / 4.543 GB, free: 404 kB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004287/9.298, allocations: 1.688 MB / 4.544 GB, free: 14.68 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0005921/9.299, allocations: 65.7 kB / 4.544 GB, free: 14.61 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.001445/9.301, allocations: 1.033 MB / 4.545 GB, free: 13.56 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.001039/9.302, allocations: 0.5235 MB / 4.546 GB, free: 13.03 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002607/9.302, allocations: 32 kB / 4.546 GB, free: 13 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0002827/9.302, allocations: 361.9 kB / 4.546 GB, free: 12.64 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003475/9.306, allocations: 0.8666 MB / 4.547 GB, free: 11.77 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003381/9.309, allocations: 1.2 MB / 4.548 GB, free: 10.46 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002991/9.312, allocations: 0.9666 MB / 4.549 GB, free: 9.492 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/9.312, allocations: 0 / 4.549 GB, free: 9.492 MB / 1.182 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.01574/9.328, allocations: 3.262 MB / 4.552 GB, free: 6.207 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006277/9.329, allocations: 1.064 MB / 4.553 GB, free: 5.035 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.592e-05/9.329, allocations: 0 / 4.553 GB, free: 5.035 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002998/9.332, allocations: 0.8095 MB / 4.554 GB, free: 4.219 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002472/9.334, allocations: 363.5 kB / 4.555 GB, free: 3.863 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.886/10.22, allocations: 6.954 MB / 4.561 GB, free: 205 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003708/10.22, allocations: 331.3 kB / 4.562 GB, free: 205 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002994/10.22, allocations: 80.73 kB / 4.562 GB, free: 205 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/10.22, allocations: 7.312 kB / 4.562 GB, free: 205 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01531/10.24, allocations: 3.049 MB / 4.565 GB, free: 204.9 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.737e-05/10.24, allocations: 4.078 kB / 4.565 GB, free: 204.9 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002961/10.24, allocations: 0.7996 MB / 4.565 GB, free: 204.9 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00196/10.24, allocations: 352.6 kB / 4.566 GB, free: 204.9 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02393/10.27, allocations: 6.381 MB / 4.572 GB, free: 202.4 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003687/10.27, allocations: 322.6 kB / 4.572 GB, free: 202.4 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002307/10.27, allocations: 75.5 kB / 4.572 GB, free: 202.4 MB / 1.182 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,chi.on) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (171): * Single equations (assignments): 167 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 7,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.00178/10.27, allocations: 0.6034 MB / 4.573 GB, free: 202.2 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005978/10.27, allocations: 235.9 kB / 4.573 GB, free: 202.2 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01642/10.29, allocations: 3.584 MB / 4.577 GB, free: 202.1 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.006e-05/10.29, allocations: 18.12 kB / 4.577 GB, free: 202.1 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.514e-05/10.29, allocations: 0 / 4.577 GB, free: 202.1 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01576/10.31, allocations: 3.32 MB / 4.58 GB, free: 201.5 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02101/10.33, allocations: 6.375 MB / 4.586 GB, free: 200.9 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-05/10.33, allocations: 10.84 kB / 4.586 GB, free: 200.9 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001633/10.33, allocations: 356.6 kB / 4.587 GB, free: 200.9 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002394/10.33, allocations: 0.7971 MB / 4.587 GB, free: 200.9 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001826/10.33, allocations: 53.91 kB / 4.587 GB, free: 200.9 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02176/10.35, allocations: 6.971 MB / 4.594 GB, free: 197.8 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.341e-06/10.35, allocations: 5.344 kB / 4.594 GB, free: 197.8 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01626/10.37, allocations: 5.074 MB / 4.599 GB, free: 196.9 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001786/10.37, allocations: 0.7122 MB / 4.6 GB, free: 196.6 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000343/10.37, allocations: 46.7 kB / 4.6 GB, free: 196.6 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002172/10.37, allocations: 249.8 kB / 4.6 GB, free: 196.6 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002627/10.38, allocations: 141.3 kB / 4.6 GB, free: 196.6 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001546/10.38, allocations: 80.67 kB / 4.6 GB, free: 196.6 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.001896/10.38, allocations: 1.327 MB / 4.602 GB, free: 196.5 MB / 1.182 GB Notification: Performance of sort global known variables: time 1.61e-07/10.38, allocations: 2.969 kB / 4.602 GB, free: 196.5 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.00461/10.38, allocations: 1.637 MB / 4.603 GB, free: 196.4 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 4 (chi.vol1.dynBal.medium.Xi[1],chi.vol1.dynBal.U,chi.vol1.dynBal.m,chi.vol2.dynBal.U) * Number of discrete variables: 8 ($whenCondition3,$whenCondition2,$whenCondition1,pulse.T_start,pulse.count,weaDat.conTimMin.tNext,weaDat.conTim.tNext,chi.on) * Number of discrete states: 3 (pulse.count,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (166): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 7,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.02049/10.4, allocations: 8.918 MB / 4.612 GB, free: 193.8 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.01287/10.42, allocations: 4.313 MB / 4.616 GB, free: 193.2 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 1.731e-05/10.42, allocations: 4.156 kB / 4.616 GB, free: 193.2 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.00513/10.42, allocations: 1.675 MB / 4.618 GB, free: 192.9 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005193/10.43, allocations: 1.108 MB / 4.619 GB, free: 192.9 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04338/10.47, allocations: 18.79 MB / 4.637 GB, free: 185.4 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001259/10.47, allocations: 1.725 MB / 4.639 GB, free: 184.7 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.003666/10.47, allocations: 0.7576 MB / 4.64 GB, free: 184.7 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001523/10.48, allocations: 1.033 MB / 4.641 GB, free: 184.7 MB / 1.182 GB Notification: Performance of SimCode: time 1.593e-06/10.48, allocations: 0 / 4.641 GB, free: 184.7 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1633/10.64, allocations: 106.6 MB / 4.745 GB, free: 180 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001812/10.64, allocations: 271.4 kB / 4.745 GB, free: 179.6 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.136/16.77, allocations: 3.938 kB / 4.745 GB, free: 179.6 MB / 1.182 GB (rm -f Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Chillers_Examples_ElectricEIR_AirCooled_fmu --startTime=1.70208e+07 --stopTime=1.7064e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Chillers_Examples_ElectricEIR_AirCooled.fmu > Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled_res.mat does not exist to compare? outputFormat=mat