Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.553/1.553, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00118/0.001181, allocations: 188.2 kB / 326.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.891/1.891, allocations: 205.4 MB / 0.5775 GB, free: 20.22 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009466/0.0009466, allocations: 82.31 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004028/0.000403, allocations: 8.906 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2291/0.2295, allocations: 106.3 MB / 0.9002 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled): time 0.7551/0.9847, allocations: 189.1 MB / 1.085 GB, free: 3.434 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02739/1.012, allocations: 17.83 MB / 1.102 GB, free: 3.172 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004589/1.017, allocations: 72.41 kB / 1.102 GB, free: 3.172 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.004642/1.021, allocations: 1.12 MB / 1.103 GB, free: 3.168 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01175/1.033, allocations: 3.119 MB / 1.106 GB, free: 3.125 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.007678/1.041, allocations: 2.241 MB / 1.109 GB, free: 3.078 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.007059/1.048, allocations: 3.497 MB / 1.112 GB, free: 3.059 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003122/1.051, allocations: 1.878 MB / 1.114 GB, free: 2.844 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005026/1.056, allocations: 1.73 MB / 1.116 GB, free: 2.84 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002841/1.059, allocations: 1.168 MB / 1.117 GB, free: 2.836 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.000444/1.059, allocations: 87.84 kB / 1.117 GB, free: 2.836 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00476/1.064, allocations: 1.553 MB / 1.118 GB, free: 2.832 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000707/1.065, allocations: 0.5918 MB / 1.119 GB, free: 2.832 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001216/1.066, allocations: 0.5534 MB / 1.119 GB, free: 18.8 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.004657/1.071, allocations: 3.349 MB / 1.123 GB, free: 18.54 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/1.071, allocations: 4.875 kB / 1.123 GB, free: 18.54 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.523e-06/1.071, allocations: 0 / 1.123 GB, free: 18.54 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.133e-05/1.071, allocations: 0 / 1.123 GB, free: 18.54 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 481 * Number of variables: 481 Notification: Performance of Generate backend data structure: time 0.006261/1.077, allocations: 2.902 MB / 1.126 GB, free: 17.04 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/1.077, allocations: 10.75 kB / 1.126 GB, free: 17.04 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005358/1.078, allocations: 280.8 kB / 1.126 GB, free: 16.98 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006171/1.084, allocations: 1.032 MB / 1.127 GB, free: 16.64 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004213/1.088, allocations: 1.824 MB / 1.129 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002247/1.089, allocations: 220.7 kB / 1.129 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003115/1.089, allocations: 196.4 kB / 1.129 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004979/1.094, allocations: 2.404 MB / 1.131 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.971e-05/1.094, allocations: 13.98 kB / 1.131 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000217/1.094, allocations: 80.22 kB / 1.131 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001557/1.094, allocations: 71.31 kB / 1.131 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006631/1.101, allocations: 2.726 MB / 1.134 GB, free: 14.41 MB / 0.7136 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.01421/1.115, allocations: 8.718 MB / 1.143 GB, free: 9.688 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006748/1.122, allocations: 2.36 MB / 1.145 GB, free: 9.039 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000826/1.123, allocations: 0.6982 MB / 1.146 GB, free: 8.27 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003126/1.126, allocations: 1.248 MB / 1.147 GB, free: 7.879 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=161): time 5.33e-06/1.126, allocations: 0 / 1.147 GB, free: 7.879 MB / 0.7136 GB Notification: Performance of matching and sorting (n=161): time 0.008782/1.135, allocations: 3.175 MB / 1.15 GB, free: 7.086 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001234/1.135, allocations: 198.1 kB / 1.15 GB, free: 6.867 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002534/1.138, allocations: 1.79 MB / 1.152 GB, free: 6.355 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0003269/1.138, allocations: 61.7 kB / 1.152 GB, free: 6.324 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008278/1.139, allocations: 1.031 MB / 1.153 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005796/1.139, allocations: 0.5337 MB / 1.153 GB, free: 5.504 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.228e-05/1.139, allocations: 28.19 kB / 1.154 GB, free: 5.504 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001457/1.14, allocations: 366.4 kB / 1.154 GB, free: 5.18 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002106/1.142, allocations: 0.8527 MB / 1.155 GB, free: 5.02 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002469/1.144, allocations: 1.169 MB / 1.156 GB, free: 4.555 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002206/1.146, allocations: 0.966 MB / 1.157 GB, free: 4.375 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.044e-06/1.146, allocations: 0 / 1.157 GB, free: 4.375 MB / 0.7136 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.005933/1.152, allocations: 2.363 MB / 1.159 GB, free: 3.816 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005205/1.153, allocations: 1.24 MB / 1.16 GB, free: 2.484 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.512e-05/1.153, allocations: 3.062 kB / 1.16 GB, free: 2.484 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005952/1.153, allocations: 97.41 kB / 1.16 GB, free: 2.445 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002356/1.156, allocations: 462.7 kB / 1.161 GB, free: 2.352 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002708/1.159, allocations: 2.147 MB / 1.163 GB, free: 408 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003661/1.162, allocations: 337.9 kB / 1.163 GB, free: 256 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000428/1.163, allocations: 70.92 kB / 1.163 GB, free: 244 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/1.163, allocations: 2.344 kB / 1.163 GB, free: 244 kB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006539/1.169, allocations: 2.164 MB / 1.165 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.269e-05/1.169, allocations: 4 kB / 1.165 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006043/1.17, allocations: 84.59 kB / 1.166 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002285/1.172, allocations: 446.9 kB / 1.166 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00213/1.174, allocations: 1.554 MB / 1.167 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003124/1.178, allocations: 334.1 kB / 1.168 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003104/1.178, allocations: 71.7 kB / 1.168 GB, free: 13.12 MB / 0.7292 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.001628/1.18, allocations: 0.6066 MB / 1.168 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008363/1.18, allocations: 229.2 kB / 1.169 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006954/1.187, allocations: 2.697 MB / 1.171 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.681e-05/1.187, allocations: 24 kB / 1.171 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/1.187, allocations: 0 / 1.171 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005276/1.193, allocations: 2.36 MB / 1.174 GB, free: 8.586 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01189/1.205, allocations: 5.258 MB / 1.179 GB, free: 4.742 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-05/1.205, allocations: 6.625 kB / 1.179 GB, free: 4.738 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002131/1.207, allocations: 448.8 kB / 1.179 GB, free: 4.328 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005328/1.207, allocations: 96.92 kB / 1.179 GB, free: 4.242 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002058/1.208, allocations: 52.22 kB / 1.179 GB, free: 4.215 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002043/1.21, allocations: 2.171 MB / 1.181 GB, free: 2.047 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/1.21, allocations: 6.438 kB / 1.181 GB, free: 2.043 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008986/1.219, allocations: 4.139 MB / 1.186 GB, free: 14.76 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001965/1.221, allocations: 0.5878 MB / 1.186 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008073/1.222, allocations: 33.75 kB / 1.186 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002836/1.224, allocations: 271.6 kB / 1.186 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003394/1.225, allocations: 134.2 kB / 1.186 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002483/1.225, allocations: 77.25 kB / 1.187 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.002747/1.228, allocations: 1.244 MB / 1.188 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.5e-07/1.228, allocations: 0 / 1.188 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.004951/1.233, allocations: 1.285 MB / 1.189 GB, free: 11.77 MB / 0.7448 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.01112/1.244, allocations: 6.482 MB / 1.195 GB, free: 6.371 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.008512/1.252, allocations: 3.575 MB / 1.199 GB, free: 3.598 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 9.778e-06/1.252, allocations: 0.75 kB / 1.199 GB, free: 3.598 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.003003/1.255, allocations: 1.307 MB / 1.2 GB, free: 2.613 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005348/1.261, allocations: 1.074 MB / 1.201 GB, free: 1.727 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01485/1.276, allocations: 8.721 MB / 1.21 GB, free: 9.43 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002034/1.278, allocations: 1.726 MB / 1.211 GB, free: 7.73 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.004716/1.283, allocations: 0.7735 MB / 1.212 GB, free: 6.957 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001852/1.284, allocations: 1.014 MB / 1.213 GB, free: 6.695 MB / 0.7605 GB Notification: Performance of SimCode: time 1.403e-06/1.284, allocations: 0 / 1.213 GB, free: 6.695 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2173/1.502, allocations: 64.57 MB / 1.276 GB, free: 6.766 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003406/1.502, allocations: 260.7 kB / 1.276 GB, free: 6.414 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.292/5.794, allocations: 3.094 kB / 1.276 GB, free: 6.414 MB / 0.823 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Examples_ElectricEIR_AirCooled_fmu --startTime=1.70208e+07 --stopTime=1.7064e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Examples_ElectricEIR_AirCooled.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe 2>&1)