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/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled,fileNamePrefix="Buildings_8_Buildings_Fluid_Chillers_Examples_ElectricEIR_AirCooled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.925/1.925, allocations: 289.9 MB / 297.4 MB, free: 6.328 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.001474/0.001475, allocations: 184.8 kB / 366.7 MB, free: 1.633 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.767/1.767, allocations: 205.2 MB / 0.626 GB, free: 7.156 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008512/0.0008511, allocations: 90.78 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.331e-05/2.334e-05, allocations: 4 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7803/0.7803, allocations: 116.3 MB / 0.9733 GB, free: 75.91 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.596/6.376, allocations: 2.375 GB / 3.349 GB, free: 112.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000233/6.377, allocations: 94.25 kB / 3.349 GB, free: 112.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.952/10.33, allocations: 1.033 GB / 4.382 GB, free: 144.8 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.743e-06/10.33, allocations: 0 / 4.382 GB, free: 144.8 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0004457/10.33, allocations: 69.78 kB / 4.382 GB, free: 144.7 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.009365/10.34, allocations: 2.771 MB / 4.385 GB, free: 143.3 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/10.34, allocations: 11.75 kB / 4.385 GB, free: 143.3 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007259/10.35, allocations: 1.013 MB / 4.386 GB, free: 143.1 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006531/10.35, allocations: 2.066 MB / 4.388 GB, free: 142.6 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002748/10.35, allocations: 155.4 kB / 4.388 GB, free: 142.5 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008017/10.35, allocations: 115.9 kB / 4.388 GB, free: 142.5 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004946/10.36, allocations: 2.146 MB / 4.39 GB, free: 142.5 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00548/10.36, allocations: 1.884 MB / 4.392 GB, free: 142.3 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-05/10.36, allocations: 0 / 4.392 GB, free: 142.3 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004635/10.36, allocations: 13.72 kB / 4.392 GB, free: 142.3 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.368e-05/10.36, allocations: 70.69 kB / 4.392 GB, free: 142.3 MB / 0.9636 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.01631/10.38, allocations: 8.305 MB / 4.4 GB, free: 137.4 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005329/10.39, allocations: 1.988 MB / 4.402 GB, free: 136.7 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001045/10.39, allocations: 0.7974 MB / 4.403 GB, free: 136.3 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007094/10.39, allocations: 0.8853 MB / 4.404 GB, free: 135.4 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00141/10.39, allocations: 0.9916 MB / 4.405 GB, free: 135 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=158): time 3.597e-06/10.39, allocations: 0 / 4.405 GB, free: 135 MB / 0.9636 GB Notification: Performance of matching and sorting (n=158): time 0.004001/10.39, allocations: 1.719 MB / 4.407 GB, free: 134.3 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.462e-05/10.39, allocations: 313.7 kB / 4.407 GB, free: 134 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002138/10.4, allocations: 1.417 MB / 4.408 GB, free: 133.4 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0002404/10.4, allocations: 29.42 kB / 4.408 GB, free: 133.3 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001153/10.4, allocations: 1.031 MB / 4.409 GB, free: 132.5 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005576/10.4, allocations: 0.4929 MB / 4.41 GB, free: 132.1 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.774e-05/10.4, allocations: 3 kB / 4.41 GB, free: 132.1 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001393/10.4, allocations: 358 kB / 4.41 GB, free: 131.8 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009066/10.4, allocations: 0.604 MB / 4.411 GB, free: 131.6 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001171/10.4, allocations: 0.9544 MB / 4.412 GB, free: 130.9 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001317/10.4, allocations: 0.7207 MB / 4.412 GB, free: 130.6 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/10.4, allocations: 0 / 4.412 GB, free: 130.6 MB / 0.9636 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.003603/10.41, allocations: 1.805 MB / 4.414 GB, free: 129.9 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003431/10.41, allocations: 1.137 MB / 4.415 GB, free: 128.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/10.41, allocations: 3.219 kB / 4.415 GB, free: 128.7 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005948/10.41, allocations: 91.22 kB / 4.415 GB, free: 128.7 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002099/10.41, allocations: 444.6 kB / 4.416 GB, free: 128.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001872/10.41, allocations: 2.064 MB / 4.418 GB, free: 126.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002945/10.41, allocations: 285.7 kB / 4.418 GB, free: 126.6 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001973/10.41, allocations: 73.38 kB / 4.418 GB, free: 126.6 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 9.638e-06/10.41, allocations: 5.688 kB / 4.418 GB, free: 126.6 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003002/10.42, allocations: 1.558 MB / 4.42 GB, free: 126.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/10.42, allocations: 3.906 kB / 4.42 GB, free: 126.1 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005192/10.42, allocations: 89.36 kB / 4.42 GB, free: 126.1 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001918/10.42, allocations: 438.8 kB / 4.42 GB, free: 126 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00147/10.42, allocations: 1.482 MB / 4.422 GB, free: 124.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002967/10.42, allocations: 267.5 kB / 4.422 GB, free: 124.6 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001781/10.42, allocations: 71.48 kB / 4.422 GB, free: 124.6 MB / 0.9636 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.0005288/10.42, allocations: 157.3 kB / 4.422 GB, free: 124.4 MB / 0.9636 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003405/10.43, allocations: 1.672 MB / 4.424 GB, free: 123.8 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004286/10.43, allocations: 218.1 kB / 4.424 GB, free: 123.7 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004118/10.43, allocations: 2.083 MB / 4.426 GB, free: 122.9 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.758e-05/10.43, allocations: 16.06 kB / 4.426 GB, free: 122.9 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/10.43, allocations: 3.406 kB / 4.426 GB, free: 122.9 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002726/10.43, allocations: 1.881 MB / 4.428 GB, free: 121.9 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008129/10.44, allocations: 4.703 MB / 4.432 GB, free: 119.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.688e-06/10.44, allocations: 3.594 kB / 4.432 GB, free: 119.1 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002099/10.44, allocations: 445.2 kB / 4.433 GB, free: 118.9 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004797/10.45, allocations: 88.78 kB / 4.433 GB, free: 118.8 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001391/10.45, allocations: 43.91 kB / 4.433 GB, free: 118.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001628/10.45, allocations: 2.093 MB / 4.435 GB, free: 116.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.723e-06/10.45, allocations: 8 kB / 4.435 GB, free: 116.5 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005255/10.45, allocations: 3.346 MB / 4.438 GB, free: 113 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001689/10.45, allocations: 0.6745 MB / 4.439 GB, free: 112.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003397/10.45, allocations: 11.98 kB / 4.439 GB, free: 112.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002154/10.46, allocations: 227.5 kB / 4.439 GB, free: 112 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002314/10.46, allocations: 141 kB / 4.439 GB, free: 111.9 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001604/10.46, allocations: 79.94 kB / 4.439 GB, free: 111.8 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001551/10.46, allocations: 1.077 MB / 4.44 GB, free: 110.7 MB / 0.9636 GB Notification: Performance of sort global known variables: time 3.41e-07/10.46, allocations: 0 / 4.44 GB, free: 110.7 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.003908/10.46, allocations: 1.383 MB / 4.442 GB, free: 109.3 MB / 0.9636 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.008967/10.47, allocations: 7.381 MB / 4.449 GB, free: 102.2 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.00468/10.48, allocations: 2.797 MB / 4.452 GB, free: 99.35 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 9.918e-06/10.48, allocations: 4.438 kB / 4.452 GB, free: 99.35 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.00162/10.48, allocations: 1.017 MB / 4.453 GB, free: 98.33 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005412/10.48, allocations: 0.9606 MB / 4.454 GB, free: 97.39 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009661/10.49, allocations: 4.138 MB / 4.458 GB, free: 93.18 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001304/10.49, allocations: 1.718 MB / 4.459 GB, free: 91.43 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.004362/10.5, allocations: 0.9675 MB / 4.46 GB, free: 90.5 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001248/10.5, allocations: 0.9757 MB / 4.461 GB, free: 89.52 MB / 0.9636 GB Notification: Performance of SimCode: time 9.32e-07/10.5, allocations: 0 / 4.461 GB, free: 89.52 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1236/10.62, allocations: 76.19 MB / 4.536 GB, free: 14.12 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001556/10.62, allocations: 184.8 kB / 4.536 GB, free: 13.92 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.473/16.1, allocations: 4 kB / 4.536 GB, free: 13.91 MB / 0.9636 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Chillers_Examples_ElectricEIR_AirCooled_fmu --startTime=1.70208e+07 --stopTime=1.7064e+07 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Chillers_Examples_ElectricEIR_AirCooled.fmu > Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe 2>&1)