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.447/1.447, allocations: 249.3 MB / 261.8 MB, free: 5.836 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001005/0.001005, allocations: 184.9 kB / 321.3 MB, free: 14.67 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.574/1.574, allocations: 205.2 MB / 0.572 GB, free: 10.66 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.0008992/0.0008992, allocations: 99.66 kB / 0.6764 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.02e-05/4.022e-05, allocations: 4 kB / 0.788 GB, free: 97.03 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2305/0.2305, allocations: 106.3 MB / 0.8919 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.468/6.698, allocations: 2.492 GB / 3.384 GB, free: 160.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002469/6.699, allocations: 95 kB / 3.384 GB, free: 160.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.596/10.29, allocations: 1.018 GB / 4.401 GB, free: 114.4 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.743e-06/10.29, allocations: 0 / 4.401 GB, free: 114.4 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002349/10.29, allocations: 82.59 kB / 4.401 GB, free: 114.3 MB / 0.8855 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.007123/10.3, allocations: 2.775 MB / 4.404 GB, free: 112.8 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/10.3, allocations: 11.47 kB / 4.404 GB, free: 112.8 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000384/10.3, allocations: 272.2 kB / 4.404 GB, free: 112.8 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006297/10.31, allocations: 1.02 MB / 4.405 GB, free: 112.6 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005783/10.31, allocations: 2.083 MB / 4.407 GB, free: 112 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002258/10.31, allocations: 220.1 kB / 4.408 GB, free: 111.9 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003744/10.32, allocations: 200 kB / 4.408 GB, free: 111.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004041/10.32, allocations: 2.155 MB / 4.41 GB, free: 111.7 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.459e-05/10.32, allocations: 5.875 kB / 4.41 GB, free: 111.7 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002183/10.32, allocations: 84.27 kB / 4.41 GB, free: 111.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-05/10.32, allocations: 74.31 kB / 4.41 GB, free: 111.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003563/10.32, allocations: 2.276 MB / 4.412 GB, free: 111.1 MB / 0.8855 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.01345/10.34, allocations: 8.744 MB / 4.421 GB, free: 104.8 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005328/10.34, allocations: 2.044 MB / 4.423 GB, free: 103.8 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001208/10.34, allocations: 0.8491 MB / 4.424 GB, free: 103.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006872/10.34, allocations: 0.8801 MB / 4.425 GB, free: 102.4 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001469/10.35, allocations: 1.062 MB / 4.426 GB, free: 101.8 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=159): time 3.456e-06/10.35, allocations: 0 / 4.426 GB, free: 101.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=159): time 0.003931/10.35, allocations: 1.79 MB / 4.427 GB, free: 100.9 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/10.35, allocations: 303.5 kB / 4.428 GB, free: 100.6 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002598/10.35, allocations: 1.641 MB / 4.429 GB, free: 99.76 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002651/10.35, allocations: 72.31 kB / 4.429 GB, free: 99.7 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008186/10.35, allocations: 1.051 MB / 4.43 GB, free: 98.77 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000436/10.35, allocations: 0.5207 MB / 4.431 GB, free: 98.3 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.477e-05/10.35, allocations: 30.84 kB / 4.431 GB, free: 98.28 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001/10.35, allocations: 372.8 kB / 4.431 GB, free: 97.93 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009506/10.35, allocations: 0.6286 MB / 4.432 GB, free: 97.41 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00122/10.36, allocations: 0.9856 MB / 4.433 GB, free: 96.3 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001043/10.36, allocations: 0.7558 MB / 4.434 GB, free: 95.55 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.82e-06/10.36, allocations: 0 / 4.434 GB, free: 95.55 MB / 0.8855 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.003619/10.36, allocations: 1.911 MB / 4.435 GB, free: 93.62 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002379/10.36, allocations: 1.05 MB / 4.436 GB, free: 92.46 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/10.36, allocations: 4 kB / 4.436 GB, free: 92.46 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005611/10.36, allocations: 92.72 kB / 4.436 GB, free: 92.36 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002088/10.36, allocations: 451.3 kB / 4.437 GB, free: 91.92 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001894/10.37, allocations: 2.119 MB / 4.439 GB, free: 89.64 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003056/10.37, allocations: 338.4 kB / 4.439 GB, free: 89.31 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001941/10.37, allocations: 79.84 kB / 4.439 GB, free: 89.23 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/10.37, allocations: 5.094 kB / 4.439 GB, free: 89.23 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002998/10.37, allocations: 1.689 MB / 4.441 GB, free: 87.53 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/10.37, allocations: 4.312 kB / 4.441 GB, free: 87.53 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00049/10.37, allocations: 88.77 kB / 4.441 GB, free: 87.44 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001866/10.37, allocations: 439.4 kB / 4.442 GB, free: 87.01 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001535/10.38, allocations: 1.532 MB / 4.443 GB, free: 85.33 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002937/10.38, allocations: 326.5 kB / 4.443 GB, free: 85.01 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001745/10.38, allocations: 71.95 kB / 4.443 GB, free: 84.94 MB / 0.8855 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 (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.0005267/10.38, allocations: 204.9 kB / 4.444 GB, free: 84.73 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005128/10.38, allocations: 241.1 kB / 4.444 GB, free: 84.5 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004156/10.38, allocations: 2.204 MB / 4.446 GB, free: 82.28 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.06e-05/10.38, allocations: 27.86 kB / 4.446 GB, free: 82.25 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/10.38, allocations: 4 kB / 4.446 GB, free: 82.25 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00262/10.39, allocations: 1.949 MB / 4.448 GB, free: 80.21 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008338/10.4, allocations: 5.096 MB / 4.453 GB, free: 74.99 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.196e-05/10.4, allocations: 4 kB / 4.453 GB, free: 74.98 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002053/10.4, allocations: 447.9 kB / 4.453 GB, free: 74.55 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004821/10.4, allocations: 96.72 kB / 4.453 GB, free: 74.45 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001378/10.4, allocations: 55.91 kB / 4.453 GB, free: 74.39 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001707/10.4, allocations: 2.145 MB / 4.456 GB, free: 72.09 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/10.4, allocations: 4 kB / 4.456 GB, free: 72.09 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005043/10.4, allocations: 3.52 MB / 4.459 GB, free: 68.41 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001627/10.41, allocations: 0.7094 MB / 4.46 GB, free: 67.66 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003689/10.41, allocations: 40 kB / 4.46 GB, free: 67.62 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002249/10.41, allocations: 271.5 kB / 4.46 GB, free: 67.36 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000261/10.41, allocations: 133.1 kB / 4.46 GB, free: 67.23 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001699/10.41, allocations: 83.83 kB / 4.46 GB, free: 67.15 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001904/10.41, allocations: 1.298 MB / 4.461 GB, free: 65.83 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2e-07/10.41, allocations: 0 / 4.461 GB, free: 65.83 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.004698/10.42, allocations: 1.497 MB / 4.463 GB, free: 64.33 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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) * 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.009263/10.43, allocations: 7.362 MB / 4.47 GB, free: 56.97 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.005196/10.43, allocations: 2.938 MB / 4.473 GB, free: 53.98 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.381e-05/10.43, allocations: 8.375 kB / 4.473 GB, free: 53.96 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001778/10.43, allocations: 1.069 MB / 4.474 GB, free: 52.88 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005756/10.44, allocations: 1.108 MB / 4.475 GB, free: 51.8 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009168/10.45, allocations: 4.332 MB / 4.479 GB, free: 47.38 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001014/10.45, allocations: 1.731 MB / 4.481 GB, free: 45.61 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.004206/10.45, allocations: 1.01 MB / 4.482 GB, free: 44.64 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00119/10.45, allocations: 0.9757 MB / 4.483 GB, free: 43.66 MB / 0.8855 GB Notification: Performance of SimCode: time 1.332e-06/10.45, allocations: 0 / 4.483 GB, free: 43.66 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7949/11.25, allocations: 101.4 MB / 4.582 GB, free: 147.2 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001625/11.25, allocations: 234.6 kB / 4.582 GB, free: 146.9 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.706/16.95, allocations: 7.609 kB / 4.582 GB, free: 146.9 MB / 0.9167 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)