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.421/1.421, allocations: 249.5 MB / 257 MB, free: 6.98 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.000999/0.0009991, allocations: 180.8 kB / 316.3 MB, free: 3.227 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.663/1.663, allocations: 205.3 MB / 0.5671 GB, free: 15.85 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.0009024/0.0009026, allocations: 97.34 kB / 0.6714 GB, free: 4.961 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.887e-05/1.891e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2158/0.2158, allocations: 106.3 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.062/6.278, allocations: 2.492 GB / 3.377 GB, free: 259.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002513/6.279, allocations: 87.95 kB / 3.377 GB, free: 259.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.412/9.691, allocations: 1.008 GB / 4.385 GB, free: 108.6 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.874e-06/9.691, allocations: 3.25 kB / 4.385 GB, free: 108.6 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002218/9.691, allocations: 75.06 kB / 4.385 GB, free: 108.6 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.005544/9.697, allocations: 2.778 MB / 4.388 GB, free: 107.4 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/9.697, allocations: 7.625 kB / 4.388 GB, free: 107.4 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006306/9.703, allocations: 1.015 MB / 4.389 GB, free: 107.3 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004443/9.707, allocations: 2.074 MB / 4.391 GB, free: 106.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001457/9.708, allocations: 151 kB / 4.391 GB, free: 106.7 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000251/9.708, allocations: 124.7 kB / 4.391 GB, free: 106.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003194/9.711, allocations: 2.144 MB / 4.393 GB, free: 106.7 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002897/9.714, allocations: 1.907 MB / 4.395 GB, free: 106.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.222e-05/9.714, allocations: 3.844 kB / 4.395 GB, free: 106.5 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001698/9.714, allocations: 0.9375 kB / 4.395 GB, free: 106.5 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.668e-05/9.714, allocations: 75.67 kB / 4.395 GB, free: 106.5 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.01148/9.726, allocations: 8.373 MB / 4.404 GB, free: 103.5 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005192/9.731, allocations: 1.972 MB / 4.405 GB, free: 103.4 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001015/9.732, allocations: 0.7995 MB / 4.406 GB, free: 103.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007143/9.733, allocations: 0.8783 MB / 4.407 GB, free: 102.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001331/9.734, allocations: 0.9941 MB / 4.408 GB, free: 102.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=158): time 2.805e-06/9.734, allocations: 2.812 kB / 4.408 GB, free: 102.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=158): time 0.003842/9.738, allocations: 1.706 MB / 4.41 GB, free: 102.2 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.429e-05/9.738, allocations: 307.1 kB / 4.41 GB, free: 101.9 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002148/9.74, allocations: 1.43 MB / 4.411 GB, free: 101.6 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002135/9.74, allocations: 29.39 kB / 4.411 GB, free: 101.6 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008897/9.741, allocations: 1.04 MB / 4.413 GB, free: 101.3 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005122/9.742, allocations: 0.5059 MB / 4.413 GB, free: 100.9 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.159e-05/9.742, allocations: 0 / 4.413 GB, free: 100.9 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001119/9.742, allocations: 360.2 kB / 4.413 GB, free: 100.6 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009255/9.743, allocations: 0.6044 MB / 4.414 GB, free: 100.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001072/9.744, allocations: 0.943 MB / 4.415 GB, free: 100.3 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00129/9.745, allocations: 0.7207 MB / 4.416 GB, free: 100.2 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/9.745, allocations: 2.625 kB / 4.416 GB, free: 100.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.0035/9.749, allocations: 1.788 MB / 4.417 GB, free: 100.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003097/9.749, allocations: 1.144 MB / 4.418 GB, free: 98.88 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/9.749, allocations: 3.812 kB / 4.418 GB, free: 98.88 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005801/9.75, allocations: 87.52 kB / 4.419 GB, free: 98.87 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002173/9.752, allocations: 447.2 kB / 4.419 GB, free: 98.87 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001966/9.754, allocations: 2.06 MB / 4.421 GB, free: 97.05 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003001/9.757, allocations: 280 kB / 4.421 GB, free: 97 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001944/9.757, allocations: 76.02 kB / 4.421 GB, free: 97 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/9.757, allocations: 7.375 kB / 4.421 GB, free: 97 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003011/9.76, allocations: 1.552 MB / 4.423 GB, free: 96.94 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/9.76, allocations: 0 / 4.423 GB, free: 96.94 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005152/9.761, allocations: 94.19 kB / 4.423 GB, free: 96.93 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001881/9.763, allocations: 430.1 kB / 4.423 GB, free: 96.93 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001402/9.764, allocations: 1.474 MB / 4.425 GB, free: 95.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002688/9.767, allocations: 277.7 kB / 4.425 GB, free: 95.65 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001535/9.767, allocations: 70.78 kB / 4.425 GB, free: 95.65 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (177): * Single equations (assignments): 174 * 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.0004555/9.767, allocations: 150.9 kB / 4.425 GB, free: 95.54 MB / 0.8855 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003267/9.771, allocations: 1.675 MB / 4.427 GB, free: 95.35 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003168/9.771, allocations: 223.3 kB / 4.427 GB, free: 95.24 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003945/9.775, allocations: 2.068 MB / 4.429 GB, free: 95.09 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.79e-05/9.775, allocations: 24.88 kB / 4.429 GB, free: 95.09 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/9.775, allocations: 0 / 4.429 GB, free: 95.09 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002555/9.778, allocations: 1.869 MB / 4.431 GB, free: 94.6 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007736/9.785, allocations: 4.713 MB / 4.436 GB, free: 93.82 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.014e-05/9.785, allocations: 6.156 kB / 4.436 GB, free: 93.82 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002103/9.788, allocations: 444.5 kB / 4.436 GB, free: 93.82 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004792/9.788, allocations: 86.31 kB / 4.436 GB, free: 93.81 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001339/9.788, allocations: 38.58 kB / 4.436 GB, free: 93.81 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001602/9.79, allocations: 2.088 MB / 4.438 GB, free: 92 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.802e-06/9.79, allocations: 9.75 kB / 4.438 GB, free: 92 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004917/9.795, allocations: 3.331 MB / 4.441 GB, free: 91.17 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001376/9.796, allocations: 0.6868 MB / 4.442 GB, free: 90.84 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002989/9.796, allocations: 18.17 kB / 4.442 GB, free: 90.83 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002032/9.798, allocations: 224.9 kB / 4.442 GB, free: 90.82 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002189/9.799, allocations: 134.5 kB / 4.442 GB, free: 90.82 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001458/9.799, allocations: 86.03 kB / 4.443 GB, free: 90.82 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001408/9.8, allocations: 1.087 MB / 4.444 GB, free: 90.67 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.51e-07/9.8, allocations: 0 / 4.444 GB, free: 90.67 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003477/9.804, allocations: 1.401 MB / 4.445 GB, free: 90.43 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 (172): * Single equations (assignments): 163 * 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.008471/9.812, allocations: 7.374 MB / 4.452 GB, free: 87.56 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004309/9.817, allocations: 2.784 MB / 4.455 GB, free: 87.19 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.195e-05/9.817, allocations: 8.125 kB / 4.455 GB, free: 87.18 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001551/9.818, allocations: 1.022 MB / 4.456 GB, free: 87.07 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005038/9.823, allocations: 0.9598 MB / 4.457 GB, free: 87.03 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009581/9.833, allocations: 4.162 MB / 4.461 GB, free: 85.94 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001188/9.834, allocations: 1.727 MB / 4.463 GB, free: 85.2 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.004493/9.839, allocations: 0.9534 MB / 4.463 GB, free: 85.12 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001304/9.84, allocations: 0.9741 MB / 4.464 GB, free: 85.11 MB / 0.8855 GB Notification: Performance of SimCode: time 1.172e-06/9.84, allocations: 0 / 4.464 GB, free: 85.11 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1289/9.969, allocations: 76.39 MB / 4.539 GB, free: 59.21 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001675/9.969, allocations: 193.2 kB / 4.539 GB, free: 59.01 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.655/14.62, allocations: 0 / 4.539 GB, free: 59.01 MB / 0.8855 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)