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.191/2.191, allocations: 390.3 MB / 402.8 MB, free: 6.695 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.00128/0.00128, allocations: 188.8 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.551/1.551, allocations: 221.3 MB / 0.7915 GB, free: 5.391 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.0009068/0.0009068, allocations: 87.91 kB / 0.9317 GB, free: 5.711 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.897e-05/2.9e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2677/0.2677, allocations: 143 MB / 1.219 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.945/5.212, allocations: 2.219 GB / 3.438 GB, free: 44.97 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002937/5.213, allocations: 87.95 kB / 3.438 GB, free: 44.89 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 4.512/9.725, allocations: 1.061 GB / 4.499 GB, free: 185.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.715e-06/9.725, allocations: 2.75 kB / 4.499 GB, free: 185.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0003485/9.725, allocations: 70.31 kB / 4.499 GB, free: 185.6 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.01018/9.735, allocations: 2.815 MB / 4.502 GB, free: 184.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.366e-05/9.735, allocations: 10.38 kB / 4.502 GB, free: 184.5 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008289/9.736, allocations: 272.5 kB / 4.502 GB, free: 184.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01046/9.747, allocations: 0.9731 MB / 4.503 GB, free: 184.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00851/9.755, allocations: 2.105 MB / 4.505 GB, free: 183.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003316/9.755, allocations: 224.3 kB / 4.505 GB, free: 183.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00066/9.756, allocations: 194.4 kB / 4.506 GB, free: 183.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006353/9.763, allocations: 2.208 MB / 4.508 GB, free: 183.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.796e-05/9.763, allocations: 7.75 kB / 4.508 GB, free: 183.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003587/9.763, allocations: 82.98 kB / 4.508 GB, free: 183.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001057/9.763, allocations: 71.98 kB / 4.508 GB, free: 183.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005886/9.769, allocations: 2.341 MB / 4.51 GB, free: 183.6 MB / 1.167 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.02199/9.791, allocations: 8.884 MB / 4.519 GB, free: 180.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008987/9.8, allocations: 2.077 MB / 4.521 GB, free: 180.5 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002598/9.803, allocations: 0.8747 MB / 4.522 GB, free: 180.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001007/9.804, allocations: 0.8024 MB / 4.523 GB, free: 179.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002868/9.807, allocations: 1.073 MB / 4.524 GB, free: 179.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=160): time 6.222e-06/9.807, allocations: 0 / 4.524 GB, free: 179.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=160): time 0.01748/9.824, allocations: 2.647 MB / 4.526 GB, free: 179.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001385/9.824, allocations: 302.8 kB / 4.527 GB, free: 179 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004166/9.829, allocations: 1.666 MB / 4.528 GB, free: 178.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0006714/9.829, allocations: 65.92 kB / 4.528 GB, free: 178.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001214/9.831, allocations: 1.046 MB / 4.529 GB, free: 178.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.000885/9.831, allocations: 0.531 MB / 4.53 GB, free: 178 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001587/9.832, allocations: 26.12 kB / 4.53 GB, free: 178 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001179/9.832, allocations: 358.5 kB / 4.53 GB, free: 177.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001735/9.833, allocations: 0.6604 MB / 4.531 GB, free: 177.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002082/9.836, allocations: 1.005 MB / 4.532 GB, free: 177.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001935/9.838, allocations: 0.7673 MB / 4.532 GB, free: 177.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/9.838, allocations: 0 / 4.532 GB, free: 177.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.0176/9.855, allocations: 2.757 MB / 4.535 GB, free: 177.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002954/9.856, allocations: 1.063 MB / 4.536 GB, free: 176 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/9.856, allocations: 4.75 kB / 4.536 GB, free: 176 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002212/9.858, allocations: 0.5661 MB / 4.537 GB, free: 176 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002897/9.861, allocations: 360.7 kB / 4.537 GB, free: 176 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02082/9.882, allocations: 5.611 MB / 4.543 GB, free: 172.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003381/9.885, allocations: 328.4 kB / 4.543 GB, free: 172.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004548/9.885, allocations: 85.41 kB / 4.543 GB, free: 172.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/9.885, allocations: 3.938 kB / 4.543 GB, free: 172.7 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01264/9.898, allocations: 2.532 MB / 4.545 GB, free: 172.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.232e-05/9.898, allocations: 0 / 4.545 GB, free: 172.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001392/9.9, allocations: 0.57 MB / 4.546 GB, free: 172.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001918/9.902, allocations: 355.1 kB / 4.546 GB, free: 172.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01533/9.917, allocations: 5.047 MB / 4.551 GB, free: 170 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003416/9.92, allocations: 320.9 kB / 4.552 GB, free: 170 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004612/9.921, allocations: 80.09 kB / 4.552 GB, free: 170 MB / 1.167 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 () * 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.0008388/9.922, allocations: 195.9 kB / 4.552 GB, free: 169.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009012/9.923, allocations: 240.6 kB / 4.552 GB, free: 169.7 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01231/9.935, allocations: 3.046 MB / 4.555 GB, free: 169.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.915e-05/9.935, allocations: 22.02 kB / 4.555 GB, free: 169.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/9.935, allocations: 0 / 4.555 GB, free: 169.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01133/9.946, allocations: 2.804 MB / 4.558 GB, free: 169.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0201/9.966, allocations: 6.019 MB / 4.564 GB, free: 168.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.742e-05/9.967, allocations: 3.531 kB / 4.564 GB, free: 168.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001948/9.969, allocations: 367.8 kB / 4.564 GB, free: 168.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001297/9.97, allocations: 0.5708 MB / 4.565 GB, free: 168.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004071/9.97, allocations: 58.14 kB / 4.565 GB, free: 168.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01382/9.984, allocations: 5.497 MB / 4.57 GB, free: 165 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.965e-06/9.984, allocations: 4.469 kB / 4.57 GB, free: 165 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01424/9.998, allocations: 4.377 MB / 4.574 GB, free: 164.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00217/10, allocations: 0.7058 MB / 4.575 GB, free: 163.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009699/10, allocations: 41.5 kB / 4.575 GB, free: 163.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003065/10, allocations: 261.1 kB / 4.575 GB, free: 163.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004313/10.01, allocations: 141.5 kB / 4.575 GB, free: 163.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002869/10.01, allocations: 85.69 kB / 4.576 GB, free: 163.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002645/10.01, allocations: 1.307 MB / 4.577 GB, free: 163.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.21e-07/10.01, allocations: 0 / 4.577 GB, free: 163.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.006391/10.01, allocations: 1.626 MB / 4.578 GB, free: 163.5 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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) * 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 {1 8,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.02029/10.03, allocations: 8.261 MB / 4.586 GB, free: 160.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.01103/10.05, allocations: 3.773 MB / 4.59 GB, free: 159.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.441e-05/10.05, allocations: 10.89 kB / 4.59 GB, free: 159.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.00359/10.05, allocations: 1.327 MB / 4.591 GB, free: 159.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006291/10.06, allocations: 1.097 MB / 4.593 GB, free: 159.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01412/10.07, allocations: 4.591 MB / 4.597 GB, free: 158.6 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001402/10.07, allocations: 1.732 MB / 4.599 GB, free: 157.8 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.004398/10.08, allocations: 0.9778 MB / 4.6 GB, free: 157.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001216/10.08, allocations: 0.9911 MB / 4.601 GB, free: 157.7 MB / 1.167 GB Notification: Performance of SimCode: time 1.172e-06/10.08, allocations: 0 / 4.601 GB, free: 157.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1788/10.26, allocations: 114.5 MB / 4.712 GB, free: 86.57 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001787/10.26, allocations: 232.2 kB / 4.713 GB, free: 86.26 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.303/16.56, allocations: 0 / 4.713 GB, free: 86.26 MB / 1.167 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