Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR.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,fileNamePrefix="Buildings_8_Buildings_Fluid_Chillers_Examples_ElectricEIR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.ElectricEIR,fileNamePrefix="Buildings_8_Buildings_Fluid_Chillers_Examples_ElectricEIR",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.671/1.671, allocations: 289.9 MB / 297.4 MB, free: 6.406 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.001097/0.001097, allocations: 180.8 kB / 366.7 MB, free: 1.652 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.695/1.695, allocations: 205.2 MB / 0.626 GB, free: 7.16 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.0009581/0.000958, allocations: 89.16 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.162e-05/2.164e-05, allocations: 4 kB / 0.8598 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.716/0.716, allocations: 116.3 MB / 0.9733 GB, free: 76.26 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.127/1.843, allocations: 417.5 MB / 1.381 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002206/1.843, allocations: 90.44 kB / 1.381 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.438/4.281, allocations: 0.6193 GB / 2 GB, free: 168.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.363e-06/4.281, allocations: 3.172 kB / 2 GB, free: 168.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001539/4.281, allocations: 50.62 kB / 2 GB, free: 168.1 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.003649/4.285, allocations: 1.754 MB / 2.002 GB, free: 167.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/4.285, allocations: 9.5 kB / 2.002 GB, free: 167.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003488/4.288, allocations: 0.632 MB / 2.003 GB, free: 167.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003744/4.292, allocations: 1.628 MB / 2.004 GB, free: 167.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001439/4.292, allocations: 111.2 kB / 2.005 GB, free: 167.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001689/4.293, allocations: 63.62 kB / 2.005 GB, free: 167.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001747/4.294, allocations: 0.9096 MB / 2.005 GB, free: 167.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001846/4.296, allocations: 0.979 MB / 2.006 GB, free: 167 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.836e-05/4.296, allocations: 0 / 2.006 GB, free: 167 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.626e-05/4.296, allocations: 2.844 kB / 2.006 GB, free: 167 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.055e-05/4.296, allocations: 27.06 kB / 2.006 GB, free: 167 MB / 0.948 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.006843/4.303, allocations: 5.196 MB / 2.012 GB, free: 164.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004144/4.307, allocations: 1.077 MB / 2.013 GB, free: 164.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005802/4.308, allocations: 429.7 kB / 2.013 GB, free: 164.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007148/4.309, allocations: 1.238 MB / 2.014 GB, free: 163.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000682/4.309, allocations: 0.5158 MB / 2.015 GB, free: 163.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=67): time 3.096e-06/4.309, allocations: 0 / 2.015 GB, free: 163.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=67): time 0.002096/4.312, allocations: 0.8717 MB / 2.016 GB, free: 163 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/4.312, allocations: 118.4 kB / 2.016 GB, free: 162.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00137/4.313, allocations: 0.9933 MB / 2.017 GB, free: 162.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001104/4.313, allocations: 28.89 kB / 2.017 GB, free: 162.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000555/4.314, allocations: 0.6684 MB / 2.017 GB, free: 162.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002202/4.314, allocations: 221.2 kB / 2.018 GB, free: 162.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.055e-05/4.314, allocations: 0 / 2.018 GB, free: 162.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.036e-05/4.314, allocations: 337 kB / 2.018 GB, free: 162.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004283/4.314, allocations: 336.9 kB / 2.018 GB, free: 162.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005918/4.315, allocations: 0.5868 MB / 2.019 GB, free: 161.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008338/4.316, allocations: 407.4 kB / 2.019 GB, free: 161.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/4.316, allocations: 0 / 2.019 GB, free: 161.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0017/4.318, allocations: 0.9811 MB / 2.02 GB, free: 161.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000272/4.318, allocations: 1.194 MB / 2.021 GB, free: 160.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/4.318, allocations: 2.625 kB / 2.021 GB, free: 160.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.577e-05/4.318, allocations: 10.03 kB / 2.021 GB, free: 160.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001309/4.319, allocations: 280.2 kB / 2.022 GB, free: 160.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/4.319, allocations: 7.812 kB / 2.022 GB, free: 160.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001747/4.321, allocations: 207 kB / 2.022 GB, free: 160.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001119/4.321, allocations: 51.34 kB / 2.022 GB, free: 160.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/4.321, allocations: 4.375 kB / 2.022 GB, free: 160.5 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001466/4.323, allocations: 0.8219 MB / 2.023 GB, free: 160.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/4.323, allocations: 7.109 kB / 2.023 GB, free: 160.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.729e-06/4.323, allocations: 9.5 kB / 2.023 GB, free: 160.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/4.324, allocations: 268.7 kB / 2.023 GB, free: 160.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/4.324, allocations: 9.844 kB / 2.023 GB, free: 160.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001586/4.325, allocations: 195.4 kB / 2.023 GB, free: 160.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.789e-05/4.326, allocations: 52.72 kB / 2.023 GB, free: 160.4 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,chi.on) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002752/4.326, allocations: 125.9 kB / 2.023 GB, free: 160.3 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001545/4.327, allocations: 0.8636 MB / 2.024 GB, free: 160.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001832/4.328, allocations: 143.4 kB / 2.024 GB, free: 160.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002054/4.33, allocations: 1.046 MB / 2.025 GB, free: 160.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/4.33, allocations: 10.28 kB / 2.025 GB, free: 160.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/4.33, allocations: 3 kB / 2.025 GB, free: 160.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001281/4.331, allocations: 0.893 MB / 2.026 GB, free: 159.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004284/4.335, allocations: 2.909 MB / 2.029 GB, free: 159.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/4.335, allocations: 6.609 kB / 2.029 GB, free: 159.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0012/4.337, allocations: 249.4 kB / 2.029 GB, free: 159.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.275e-05/4.337, allocations: 7.125 kB / 2.029 GB, free: 159.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.698e-05/4.337, allocations: 14.67 kB / 2.029 GB, free: 159.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.935e-06/4.337, allocations: 9.734 kB / 2.029 GB, free: 159.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.614e-06/4.337, allocations: 10.52 kB / 2.029 GB, free: 159.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002406/4.339, allocations: 1.981 MB / 2.031 GB, free: 158.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007499/4.34, allocations: 466.9 kB / 2.032 GB, free: 158.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001926/4.34, allocations: 13.77 kB / 2.032 GB, free: 158.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001376/4.341, allocations: 161 kB / 2.032 GB, free: 158.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001437/4.342, allocations: 75.61 kB / 2.032 GB, free: 158.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001015/4.342, allocations: 47.2 kB / 2.032 GB, free: 158.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001137/4.343, allocations: 0.758 MB / 2.033 GB, free: 158 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.6e-07/4.343, allocations: 0 / 2.033 GB, free: 158 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002717/4.346, allocations: 0.8251 MB / 2.033 GB, free: 157.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (chi.vol1.dynBal.U,chi.vol2.dynBal.U) * Number of discrete variables: 4 ($whenCondition1,pulse.T_start,pulse.count,chi.on) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004406/4.35, allocations: 4.373 MB / 2.038 GB, free: 155.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002354/4.352, allocations: 1.405 MB / 2.039 GB, free: 155.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.293e-06/4.352, allocations: 1.562 kB / 2.039 GB, free: 155.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000813/4.353, allocations: 0.4919 MB / 2.04 GB, free: 155.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003663/4.357, allocations: 0.6331 MB / 2.04 GB, free: 155.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004873/4.362, allocations: 2.265 MB / 2.042 GB, free: 154.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007496/4.363, allocations: 1.264 MB / 2.044 GB, free: 153.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002381/4.365, allocations: 454.2 kB / 2.044 GB, free: 153.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006739/4.366, allocations: 0.5599 MB / 2.045 GB, free: 153.8 MB / 0.948 GB Notification: Performance of SimCode: time 7.82e-07/4.366, allocations: 0 / 2.045 GB, free: 153.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0888/4.454, allocations: 41.55 MB / 2.085 GB, free: 152.6 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001859/4.455, allocations: 164 kB / 2.085 GB, free: 152.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.624/8.079, allocations: 0 / 2.085 GB, free: 152.4 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Chillers_Examples_ElectricEIR_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Chillers_Examples_ElectricEIR.fmu > Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1)