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.849/1.849, allocations: 288.2 MB / 303.2 MB, free: 8.203 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.001196/0.001196, allocations: 185 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.96/1.96, allocations: 205.4 MB / 0.6305 GB, free: 10.02 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.0009854/0.0009855, allocations: 91.75 kB / 0.7439 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000451/0.0004511, allocations: 16.66 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2722/0.2727, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.259/6.532, allocations: 2.375 GB / 3.355 GB, free: 251.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003141/6.532, allocations: 98.55 kB / 3.355 GB, free: 251.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.369/10.9, allocations: 1.045 GB / 4.4 GB, free: 126.3 MB / 0.9636 GB Notification: Performance of FrontEnd: time 3.667e-06/10.9, allocations: 0 / 4.4 GB, free: 126.3 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0004986/10.9, allocations: 68.44 kB / 4.4 GB, free: 126.3 MB / 0.9636 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.01297/10.92, allocations: 3.207 MB / 4.403 GB, free: 125 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 6.315e-05/10.92, allocations: 7.25 kB / 4.403 GB, free: 125 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001463/10.92, allocations: 268.9 kB / 4.403 GB, free: 125 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008254/10.93, allocations: 1.02 MB / 4.404 GB, free: 124.8 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01088/10.94, allocations: 2.092 MB / 4.406 GB, free: 124.4 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006728/10.94, allocations: 220.2 kB / 4.406 GB, free: 124.4 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001514/10.94, allocations: 198.9 kB / 4.407 GB, free: 124.3 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009845/10.95, allocations: 2.396 MB / 4.409 GB, free: 124.1 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001236/10.95, allocations: 7.062 kB / 4.409 GB, free: 124.1 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007157/10.95, allocations: 77 kB / 4.409 GB, free: 124.1 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001075/10.95, allocations: 76.89 kB / 4.409 GB, free: 124.1 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007605/10.96, allocations: 2.723 MB / 4.412 GB, free: 124.1 MB / 0.9636 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.02169/10.98, allocations: 8.701 MB / 4.42 GB, free: 121.1 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008908/10.99, allocations: 2.355 MB / 4.423 GB, free: 121.1 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001295/10.99, allocations: 0.8841 MB / 4.423 GB, free: 120.2 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004171/10.99, allocations: 1.261 MB / 4.425 GB, free: 120.1 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=159): time 1.081e-05/10.99, allocations: 2.906 kB / 4.425 GB, free: 120.1 MB / 0.9636 GB Notification: Performance of matching and sorting (n=159): time 0.0114/11, allocations: 3.231 MB / 4.428 GB, free: 119.8 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001369/11.01, allocations: 254.6 kB / 4.428 GB, free: 119.5 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005053/11.01, allocations: 1.653 MB / 4.43 GB, free: 119.3 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0006644/11.01, allocations: 67.8 kB / 4.43 GB, free: 119.3 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001712/11.01, allocations: 1.036 MB / 4.431 GB, free: 118.9 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.001115/11.01, allocations: 0.5217 MB / 4.431 GB, free: 118.6 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000257/11.01, allocations: 30.41 kB / 4.431 GB, free: 118.6 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002216/11.01, allocations: 368 kB / 4.432 GB, free: 118.3 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00265/11.02, allocations: 0.8542 MB / 4.432 GB, free: 118.3 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002995/11.02, allocations: 1.215 MB / 4.434 GB, free: 117.9 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002873/11.02, allocations: 0.969 MB / 4.435 GB, free: 117.9 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.257e-05/11.02, allocations: 3.719 kB / 4.435 GB, free: 117.9 MB / 0.9636 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.007767/11.03, allocations: 2.358 MB / 4.437 GB, free: 117.7 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.000449/11.03, allocations: 1.057 MB / 4.438 GB, free: 116.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.927e-05/11.03, allocations: 0 / 4.438 GB, free: 116.5 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007432/11.03, allocations: 94.69 kB / 4.438 GB, free: 116.5 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002455/11.03, allocations: 444.1 kB / 4.438 GB, free: 116.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002603/11.04, allocations: 2.139 MB / 4.441 GB, free: 114.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003898/11.04, allocations: 339.5 kB / 4.441 GB, free: 114.6 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004121/11.04, allocations: 77.19 kB / 4.441 GB, free: 114.6 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/11.04, allocations: 3.875 kB / 4.441 GB, free: 114.6 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006415/11.05, allocations: 2.138 MB / 4.443 GB, free: 114.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.62e-05/11.05, allocations: 2.875 kB / 4.443 GB, free: 114.5 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005948/11.05, allocations: 93.64 kB / 4.443 GB, free: 114.5 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00226/11.05, allocations: 435.8 kB / 4.444 GB, free: 114.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002067/11.05, allocations: 1.55 MB / 4.445 GB, free: 113.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003681/11.06, allocations: 324.5 kB / 4.445 GB, free: 113.1 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000361/11.06, allocations: 77.92 kB / 4.445 GB, free: 113.1 MB / 0.9636 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 (178): * Single equations (assignments): 175 * 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: 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.00227/11.06, allocations: 0.6008 MB / 4.446 GB, free: 113 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001232/11.06, allocations: 230 kB / 4.446 GB, free: 112.8 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008304/11.07, allocations: 2.661 MB / 4.449 GB, free: 112.7 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.683e-05/11.07, allocations: 16.88 kB / 4.449 GB, free: 112.7 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.218e-05/11.07, allocations: 3.891 kB / 4.449 GB, free: 112.7 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005594/11.07, allocations: 2.414 MB / 4.451 GB, free: 112.2 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01483/11.09, allocations: 5.376 MB / 4.456 GB, free: 111.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-05/11.09, allocations: 8.516 kB / 4.456 GB, free: 111.5 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002277/11.09, allocations: 458.9 kB / 4.457 GB, free: 111.5 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005826/11.09, allocations: 87.98 kB / 4.457 GB, free: 111.5 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002265/11.09, allocations: 57.69 kB / 4.457 GB, free: 111.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002195/11.09, allocations: 2.163 MB / 4.459 GB, free: 109.6 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/11.09, allocations: 5.938 kB / 4.459 GB, free: 109.6 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009957/11.1, allocations: 4.167 MB / 4.463 GB, free: 108.8 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002662/11.11, allocations: 0.7035 MB / 4.464 GB, free: 108.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001044/11.11, allocations: 37.62 kB / 4.464 GB, free: 108.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003425/11.11, allocations: 269.8 kB / 4.464 GB, free: 108.5 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004009/11.11, allocations: 134.2 kB / 4.464 GB, free: 108.5 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003005/11.11, allocations: 81.92 kB / 4.464 GB, free: 108.5 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.003697/11.12, allocations: 1.306 MB / 4.466 GB, free: 108.3 MB / 0.9636 GB Notification: Performance of sort global known variables: time 4.31e-07/11.12, allocations: 0 / 4.466 GB, free: 108.3 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.009007/11.13, allocations: 1.497 MB / 4.467 GB, free: 108.1 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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.01832/11.14, allocations: 7.97 MB / 4.475 GB, free: 105.4 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.01059/11.15, allocations: 3.544 MB / 4.478 GB, free: 105 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.157e-05/11.15, allocations: 192 / 4.478 GB, free: 105 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.00362/11.16, allocations: 1.308 MB / 4.48 GB, free: 104.9 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007196/11.17, allocations: 1.094 MB / 4.481 GB, free: 104.9 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04519/11.21, allocations: 17.39 MB / 4.498 GB, free: 97.5 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002419/11.21, allocations: 1.717 MB / 4.499 GB, free: 96.77 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.005413/11.22, allocations: 0.7902 MB / 4.5 GB, free: 96.75 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002635/11.22, allocations: 1.022 MB / 4.501 GB, free: 96.73 MB / 0.9636 GB Notification: Performance of SimCode: time 2.375e-06/11.22, allocations: 0 / 4.501 GB, free: 96.73 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1932/11.41, allocations: 93.53 MB / 4.593 GB, free: 74.89 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002322/11.41, allocations: 265.5 kB / 4.593 GB, free: 74.53 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.971/18.39, allocations: 0 / 4.593 GB, free: 74.53 MB / 0.9636 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)