Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Chillers_Examples_ElectricEIR_AirCooled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled,fileNamePrefix="Buildings_maint_8_0_x_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 8.0.1-maint.8.0.x/package.mo): time 1.847/1.847, allocations: 288.2 MB / 303.2 MB, free: 8.156 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001218/0.001219, allocations: 183.3 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.76/1.76, allocations: 205.4 MB / 0.6305 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000886/0.0008858, allocations: 89.11 kB / 0.7439 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004167/0.0004172, allocations: 18.97 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2527/0.2531, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled): time 0.7978/1.051, allocations: 188.9 MB / 1.164 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.03265/1.084, allocations: 17.75 MB / 1.181 GB, free: 0.5469 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00482/1.089, allocations: 70.44 kB / 1.181 GB, free: 0.5156 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.004986/1.094, allocations: 1.113 MB / 1.182 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.01352/1.107, allocations: 3.082 MB / 1.185 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.009851/1.117, allocations: 2.259 MB / 1.188 GB, free: 11.51 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.00986/1.127, allocations: 3.435 MB / 1.191 GB, free: 9.266 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00427/1.131, allocations: 1.857 MB / 1.193 GB, free: 8.168 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005373/1.137, allocations: 1.694 MB / 1.194 GB, free: 7.156 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003123/1.14, allocations: 1.155 MB / 1.196 GB, free: 6.473 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0004201/1.14, allocations: 85.72 kB / 1.196 GB, free: 6.473 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005584/1.146, allocations: 1.559 MB / 1.197 GB, free: 5.805 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0008065/1.147, allocations: 0.5795 MB / 1.198 GB, free: 5.426 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.001311/1.148, allocations: 0.5429 MB / 1.198 GB, free: 5.117 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0063/1.154, allocations: 3.319 MB / 1.202 GB, free: 2.848 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/1.154, allocations: 0 / 1.202 GB, free: 2.848 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.825e-06/1.154, allocations: 3.938 kB / 1.202 GB, free: 2.844 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001084/1.154, allocations: 0 / 1.202 GB, free: 2.844 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 477 * Number of variables: 477 Notification: Performance of Generate backend data structure: time 0.006807/1.161, allocations: 2.893 MB / 1.204 GB, free: 0.7344 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/1.161, allocations: 11.38 kB / 1.204 GB, free: 0.7305 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005728/1.162, allocations: 273.5 kB / 1.205 GB, free: 0.5195 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006349/1.168, allocations: 1.032 MB / 1.206 GB, free: 84 kB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00481/1.173, allocations: 1.825 MB / 1.207 GB, free: 14.69 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002976/1.173, allocations: 213.7 kB / 1.208 GB, free: 14.53 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005248/1.174, allocations: 196 kB / 1.208 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005977/1.18, allocations: 2.399 MB / 1.21 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.163e-05/1.18, allocations: 3.938 kB / 1.21 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002225/1.18, allocations: 80 kB / 1.21 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.902e-05/1.18, allocations: 71.61 kB / 1.21 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006225/1.187, allocations: 2.727 MB / 1.213 GB, free: 9 MB / 0.7448 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.01666/1.203, allocations: 8.697 MB / 1.221 GB, free: 15.86 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007205/1.211, allocations: 2.368 MB / 1.224 GB, free: 13.45 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007424/1.211, allocations: 0.7013 MB / 1.224 GB, free: 12.6 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003089/1.214, allocations: 1.247 MB / 1.226 GB, free: 11.34 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=161): time 4.749e-06/1.214, allocations: 3.938 kB / 1.226 GB, free: 11.33 MB / 0.7605 GB Notification: Performance of matching and sorting (n=161): time 0.009274/1.224, allocations: 3.173 MB / 1.229 GB, free: 8.133 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001351/1.224, allocations: 197.2 kB / 1.229 GB, free: 7.898 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002849/1.227, allocations: 1.778 MB / 1.231 GB, free: 6.086 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.000304/1.227, allocations: 65.7 kB / 1.231 GB, free: 6.016 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001063/1.228, allocations: 1.028 MB / 1.232 GB, free: 4.973 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006418/1.229, allocations: 0.5314 MB / 1.232 GB, free: 4.434 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/1.229, allocations: 28 kB / 1.232 GB, free: 4.406 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001495/1.229, allocations: 369.9 kB / 1.233 GB, free: 4.039 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002216/1.231, allocations: 0.8549 MB / 1.234 GB, free: 3.184 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00252/1.234, allocations: 1.178 MB / 1.235 GB, free: 1.902 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00238/1.236, allocations: 0.964 MB / 1.236 GB, free: 0.9375 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/1.236, allocations: 0 / 1.236 GB, free: 0.9375 MB / 0.7605 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.006268/1.242, allocations: 2.368 MB / 1.238 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.000558/1.243, allocations: 1.247 MB / 1.239 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/1.243, allocations: 4 kB / 1.239 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005825/1.244, allocations: 88.78 kB / 1.239 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002256/1.246, allocations: 463.3 kB / 1.24 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002502/1.248, allocations: 2.137 MB / 1.242 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003142/1.252, allocations: 352.9 kB / 1.242 GB, free: 9.977 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002036/1.252, allocations: 63.97 kB / 1.242 GB, free: 9.914 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/1.252, allocations: 4 kB / 1.242 GB, free: 9.91 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005475/1.257, allocations: 2.157 MB / 1.244 GB, free: 7.742 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/1.257, allocations: 4 kB / 1.244 GB, free: 7.738 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005542/1.258, allocations: 89 kB / 1.244 GB, free: 7.648 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002108/1.26, allocations: 447.4 kB / 1.245 GB, free: 7.211 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002159/1.262, allocations: 1.557 MB / 1.246 GB, free: 5.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003212/1.265, allocations: 331.7 kB / 1.247 GB, free: 5.195 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002199/1.266, allocations: 67.95 kB / 1.247 GB, free: 5.129 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (188): * Single equations (assignments): 184 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001616/1.267, allocations: 0.5982 MB / 1.247 GB, free: 4.52 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007593/1.268, allocations: 233.1 kB / 1.247 GB, free: 4.289 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006735/1.275, allocations: 2.713 MB / 1.25 GB, free: 1.559 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.729e-05/1.275, allocations: 23.95 kB / 1.25 GB, free: 1.535 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/1.275, allocations: 0 / 1.25 GB, free: 1.535 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005217/1.28, allocations: 2.367 MB / 1.252 GB, free: 15.08 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01172/1.292, allocations: 5.249 MB / 1.258 GB, free: 9.684 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.491e-05/1.292, allocations: 4 kB / 1.258 GB, free: 9.68 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002156/1.294, allocations: 447.5 kB / 1.258 GB, free: 9.242 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000528/1.295, allocations: 96.75 kB / 1.258 GB, free: 9.145 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001396/1.295, allocations: 55.97 kB / 1.258 GB, free: 9.09 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002201/1.297, allocations: 2.173 MB / 1.26 GB, free: 6.754 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/1.297, allocations: 8.062 kB / 1.26 GB, free: 6.746 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008843/1.306, allocations: 4.142 MB / 1.264 GB, free: 2.434 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00211/1.308, allocations: 0.5795 MB / 1.265 GB, free: 1.832 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004009/1.308, allocations: 36 kB / 1.265 GB, free: 1.797 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00229/1.311, allocations: 263.4 kB / 1.265 GB, free: 1.543 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002548/1.311, allocations: 133 kB / 1.265 GB, free: 1.41 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001682/1.311, allocations: 79.95 kB / 1.265 GB, free: 1.332 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.002015/1.313, allocations: 1.226 MB / 1.267 GB, free: 92 kB / 0.7917 GB Notification: Performance of sort global known variables: time 1.8e-07/1.313, allocations: 0 / 1.267 GB, free: 92 kB / 0.7917 GB Notification: Performance of remove unused functions: time 0.003641/1.317, allocations: 1.286 MB / 1.268 GB, free: 14.8 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 4 (chi.vol1.dynBal.U,chi.vol1.dynBal.m,chi.vol1.dynBal.mXi[1],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 (173): * Single equations (assignments): 164 * 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: 1 * 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: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.01149/1.328, allocations: 6.491 MB / 1.274 GB, free: 8.301 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.009102/1.338, allocations: 3.601 MB / 1.278 GB, free: 4.652 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.017e-05/1.338, allocations: 320 / 1.278 GB, free: 4.652 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.003264/1.341, allocations: 1.311 MB / 1.279 GB, free: 3.328 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008812/1.35, allocations: 1.065 MB / 1.28 GB, free: 2.27 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02292/1.373, allocations: 8.688 MB / 1.288 GB, free: 9.32 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002551/1.375, allocations: 1.708 MB / 1.29 GB, free: 7.582 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.006571/1.382, allocations: 0.7749 MB / 1.291 GB, free: 6.805 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002676/1.385, allocations: 1.026 MB / 1.292 GB, free: 5.777 MB / 0.823 GB Notification: Performance of SimCode: time 1.482e-06/1.385, allocations: 0 / 1.292 GB, free: 5.777 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1487/1.533, allocations: 64.36 MB / 1.355 GB, free: 5.941 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002885/1.534, allocations: 264 kB / 1.355 GB, free: 5.59 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.342/5.876, allocations: 0 / 1.355 GB, free: 5.59 MB / 0.8855 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Chillers_Examples_ElectricEIR_AirCooled_fmu --startTime=1.70208e+07 --stopTime=1.7064e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Chillers_Examples_ElectricEIR_AirCooled.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe 2>&1)