Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled") translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009119/0.0009121, allocations: 97.91 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.489/1.489, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.692/1.692, allocations: 292.5 MB / 0.5497 GB, free: 14.65 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005215/0.0005215, allocations: 16.53 kB / 0.6735 GB, free: 26.42 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2432/0.2438, allocations: 116.3 MB / 0.7871 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled): time 0.7058/0.9496, allocations: 188.9 MB / 0.9716 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02269/0.9724, allocations: 17.75 MB / 0.9889 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00431/0.9767, allocations: 69.78 kB / 0.989 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.004032/0.9808, allocations: 1.121 MB / 0.9901 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01017/0.991, allocations: 3.08 MB / 0.9931 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.006592/0.9976, allocations: 2.258 MB / 0.9953 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.008874/1.006, allocations: 3.435 MB / 0.9986 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003636/1.01, allocations: 1.855 MB / 1 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004654/1.015, allocations: 1.696 MB / 1.002 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002863/1.018, allocations: 1.16 MB / 1.003 GB, free: 14 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0005462/1.018, allocations: 84.88 kB / 1.003 GB, free: 14 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005091/1.023, allocations: 1.552 MB / 1.005 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0007723/1.024, allocations: 0.5799 MB / 1.005 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001272/1.025, allocations: 0.544 MB / 1.006 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.005589/1.031, allocations: 3.327 MB / 1.009 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/1.031, allocations: 0 / 1.009 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.857e-06/1.031, allocations: 0 / 1.009 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001417/1.031, allocations: 3.938 kB / 1.009 GB, free: 11.39 MB / 0.7325 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.006455/1.038, allocations: 2.893 MB / 1.012 GB, free: 9.492 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/1.038, allocations: 8.125 kB / 1.012 GB, free: 9.492 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006191/1.044, allocations: 1.033 MB / 1.013 GB, free: 9.074 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003969/1.048, allocations: 1.817 MB / 1.015 GB, free: 8.137 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001812/1.048, allocations: 215.1 kB / 1.015 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002778/1.048, allocations: 196 kB / 1.015 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004368/1.053, allocations: 2.404 MB / 1.018 GB, free: 7.336 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.742e-05/1.053, allocations: 0 / 1.018 GB, free: 7.336 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001874/1.053, allocations: 84.22 kB / 1.018 GB, free: 7.273 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.087e-05/1.053, allocations: 72.08 kB / 1.018 GB, free: 7.266 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005283/1.058, allocations: 2.728 MB / 1.02 GB, free: 5.996 MB / 0.7325 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.01294/1.071, allocations: 8.701 MB / 1.029 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006347/1.078, allocations: 2.364 MB / 1.031 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006197/1.078, allocations: 0.7018 MB / 1.032 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002632/1.081, allocations: 1.25 MB / 1.033 GB, free: 12 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=161): time 3.246e-06/1.081, allocations: 0 / 1.033 GB, free: 12 MB / 0.7481 GB Notification: Performance of matching and sorting (n=161): time 0.00844/1.09, allocations: 3.177 MB / 1.036 GB, free: 8.797 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001738/1.09, allocations: 197.2 kB / 1.036 GB, free: 8.562 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002987/1.093, allocations: 1.774 MB / 1.038 GB, free: 6.754 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0002677/1.093, allocations: 61.7 kB / 1.038 GB, free: 6.688 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009981/1.094, allocations: 1.032 MB / 1.039 GB, free: 5.641 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005648/1.095, allocations: 0.5352 MB / 1.04 GB, free: 5.098 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.577e-05/1.095, allocations: 28 kB / 1.04 GB, free: 5.07 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001634/1.095, allocations: 365.9 kB / 1.04 GB, free: 4.707 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002059/1.097, allocations: 0.8549 MB / 1.041 GB, free: 3.852 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002316/1.099, allocations: 1.179 MB / 1.042 GB, free: 2.57 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002136/1.101, allocations: 0.9563 MB / 1.043 GB, free: 1.613 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/1.101, allocations: 0 / 1.043 GB, free: 1.613 MB / 0.7481 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.005709/1.107, allocations: 2.375 MB / 1.045 GB, free: 15.22 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004763/1.108, allocations: 1.246 MB / 1.047 GB, free: 13.84 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/1.108, allocations: 7.938 kB / 1.047 GB, free: 13.84 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005561/1.108, allocations: 92.77 kB / 1.047 GB, free: 13.74 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002179/1.11, allocations: 463.4 kB / 1.047 GB, free: 13.29 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002254/1.113, allocations: 2.134 MB / 1.049 GB, free: 10.99 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002967/1.116, allocations: 342.4 kB / 1.049 GB, free: 10.66 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002048/1.116, allocations: 71.89 kB / 1.05 GB, free: 10.59 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/1.116, allocations: 7.953 kB / 1.05 GB, free: 10.58 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005189/1.121, allocations: 2.154 MB / 1.052 GB, free: 8.414 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/1.121, allocations: 4 kB / 1.052 GB, free: 8.41 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004954/1.122, allocations: 92.98 kB / 1.052 GB, free: 8.316 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001945/1.124, allocations: 443.4 kB / 1.052 GB, free: 7.883 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001919/1.126, allocations: 1.559 MB / 1.054 GB, free: 6.188 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003393/1.129, allocations: 330.5 kB / 1.054 GB, free: 5.863 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002215/1.129, allocations: 63.97 kB / 1.054 GB, free: 5.801 MB / 0.7637 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.002168/1.131, allocations: 0.5944 MB / 1.055 GB, free: 5.195 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008216/1.132, allocations: 241.1 kB / 1.055 GB, free: 4.957 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0063/1.139, allocations: 2.702 MB / 1.057 GB, free: 2.238 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.066e-05/1.139, allocations: 20 kB / 1.058 GB, free: 2.219 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/1.139, allocations: 3.953 kB / 1.058 GB, free: 2.215 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004842/1.143, allocations: 2.363 MB / 1.06 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01123/1.155, allocations: 5.26 MB / 1.065 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.419e-05/1.155, allocations: 4 kB / 1.065 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00212/1.157, allocations: 455.8 kB / 1.065 GB, free: 9.906 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005057/1.157, allocations: 96.77 kB / 1.065 GB, free: 9.809 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001327/1.158, allocations: 47.97 kB / 1.066 GB, free: 9.762 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002076/1.16, allocations: 2.169 MB / 1.068 GB, free: 7.426 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.624e-06/1.16, allocations: 11.92 kB / 1.068 GB, free: 7.414 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009042/1.169, allocations: 4.134 MB / 1.072 GB, free: 3.109 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001959/1.171, allocations: 0.5795 MB / 1.072 GB, free: 2.508 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000763/1.172, allocations: 39.98 kB / 1.072 GB, free: 2.469 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002825/1.174, allocations: 265.9 kB / 1.073 GB, free: 2.215 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003187/1.175, allocations: 133 kB / 1.073 GB, free: 2.086 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002269/1.175, allocations: 79.94 kB / 1.073 GB, free: 2.008 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.002899/1.178, allocations: 1.222 MB / 1.074 GB, free: 0.7695 MB / 0.7794 GB Notification: Performance of sort global known variables: time 4.61e-07/1.178, allocations: 7.875 kB / 1.074 GB, free: 0.7617 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.00669/1.185, allocations: 1.286 MB / 1.075 GB, free: 15.47 MB / 0.795 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.002555/1.187, allocations: 0.8695 MB / 1.076 GB, free: 14.78 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.009319/1.196, allocations: 3.593 MB / 1.08 GB, free: 11.14 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.361e-05/1.197, allocations: 4 kB / 1.08 GB, free: 11.14 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.00316/1.2, allocations: 1.299 MB / 1.081 GB, free: 9.828 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006056/1.206, allocations: 1.065 MB / 1.082 GB, free: 8.777 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01279/1.219, allocations: 5.688 MB / 1.087 GB, free: 3.004 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001795/1.22, allocations: 1.711 MB / 1.089 GB, free: 1.254 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.004155/1.225, allocations: 0.7632 MB / 1.09 GB, free: 500 kB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007738/1.225, allocations: 219.3 kB / 1.09 GB, free: 280 kB / 0.795 GB Notification: Performance of SimCode: time 2.695e-06/1.225, allocations: 0 / 1.09 GB, free: 280 kB / 0.795 GB Notification: Performance of Templates: time 0.08273/1.308, allocations: 44.74 MB / 1.134 GB, free: 4.082 MB / 0.8419 GB make -j1 -f Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.sim & ./Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe 2>&1) Environment - environmentSimulation: