Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.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.ElectricReformulatedEIR,fileNamePrefix="Buildings_8_Buildings_Fluid_Chillers_Examples_ElectricReformulatedEIR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR,fileNamePrefix="Buildings_8_Buildings_Fluid_Chillers_Examples_ElectricReformulatedEIR",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.674/1.674, allocations: 289.7 MB / 302.2 MB, free: 2.16 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.001093/0.001093, allocations: 177 kB / 371.6 MB, free: 3.375 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.849/1.849, allocations: 205.1 MB / 0.6309 GB, free: 11.76 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.000941/0.0009411, allocations: 89.14 kB / 0.745 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.953e-05/5.957e-05, allocations: 4 kB / 0.8663 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.298/0.2981, allocations: 116.3 MB / 0.9799 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.818/2.116, allocations: 418.2 MB / 1.388 GB, free: 294.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003106/2.117, allocations: 90.02 kB / 1.388 GB, free: 294.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.134/4.251, allocations: 0.6235 GB / 2.012 GB, free: 110.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.523e-06/4.251, allocations: 0 / 2.012 GB, free: 110.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000317/4.252, allocations: 51.78 kB / 2.012 GB, free: 110.4 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.005825/4.257, allocations: 1.783 MB / 2.014 GB, free: 108.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 7.424e-05/4.257, allocations: 8.031 kB / 2.014 GB, free: 108.5 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000536/4.258, allocations: 139.7 kB / 2.014 GB, free: 108.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004026/4.262, allocations: 0.6349 MB / 2.014 GB, free: 107.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005064/4.267, allocations: 1.647 MB / 2.016 GB, free: 106.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002408/4.267, allocations: 145.4 kB / 2.016 GB, free: 105.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004337/4.268, allocations: 109.6 kB / 2.016 GB, free: 105.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00257/4.27, allocations: 1.12 MB / 2.017 GB, free: 104.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.728e-05/4.27, allocations: 0 / 2.017 GB, free: 104.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000149/4.271, allocations: 36.86 kB / 2.017 GB, free: 104.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.834e-05/4.271, allocations: 32 kB / 2.017 GB, free: 104.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001774/4.272, allocations: 0.9761 MB / 2.018 GB, free: 103.6 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.007542/4.28, allocations: 5.43 MB / 2.024 GB, free: 97.92 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001132/4.281, allocations: 0.7024 MB / 2.024 GB, free: 97.21 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006208/4.282, allocations: 458.3 kB / 2.025 GB, free: 96.76 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007833/4.283, allocations: 1.247 MB / 2.026 GB, free: 95.24 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007643/4.283, allocations: 0.5416 MB / 2.027 GB, free: 94.68 MB / 0.948 GB Notification: Performance of pre-optimization done (n=67): time 3.447e-06/4.283, allocations: 3.938 kB / 2.027 GB, free: 94.68 MB / 0.948 GB Notification: Performance of matching and sorting (n=67): time 0.001644/4.285, allocations: 0.8994 MB / 2.027 GB, free: 93.77 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.314e-05/4.285, allocations: 119.4 kB / 2.028 GB, free: 93.62 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001424/4.287, allocations: 1.179 MB / 2.029 GB, free: 92.44 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001065/4.287, allocations: 45.7 kB / 2.029 GB, free: 92.39 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005009/4.287, allocations: 0.6856 MB / 2.029 GB, free: 91.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001924/4.287, allocations: 232.6 kB / 2.03 GB, free: 91.47 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.106e-05/4.287, allocations: 16 kB / 2.03 GB, free: 91.46 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.448e-05/4.288, allocations: 330 kB / 2.03 GB, free: 91.13 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005013/4.288, allocations: 357.4 kB / 2.03 GB, free: 90.78 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006462/4.289, allocations: 0.6156 MB / 2.031 GB, free: 90.05 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005474/4.289, allocations: 413.9 kB / 2.031 GB, free: 89.64 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/4.289, allocations: 0 / 2.031 GB, free: 89.64 MB / 0.948 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001559/4.291, allocations: 1.054 MB / 2.032 GB, free: 88.58 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003056/4.291, allocations: 1.204 MB / 2.033 GB, free: 87.26 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/4.291, allocations: 4 kB / 2.033 GB, free: 87.26 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.245e-05/4.291, allocations: 8 kB / 2.033 GB, free: 87.25 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001285/4.292, allocations: 275.7 kB / 2.034 GB, free: 86.98 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.564e-05/4.293, allocations: 7.938 kB / 2.034 GB, free: 86.97 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001788/4.294, allocations: 231.1 kB / 2.034 GB, free: 86.75 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001163/4.294, allocations: 55.97 kB / 2.034 GB, free: 86.69 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/4.294, allocations: 4 kB / 2.034 GB, free: 86.69 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001301/4.296, allocations: 0.8866 MB / 2.035 GB, free: 85.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/4.296, allocations: 4 kB / 2.035 GB, free: 85.79 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/4.296, allocations: 12.36 kB / 2.035 GB, free: 85.78 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001168/4.297, allocations: 279.5 kB / 2.035 GB, free: 85.51 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/4.297, allocations: 8 kB / 2.035 GB, free: 85.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001819/4.299, allocations: 239 kB / 2.035 GB, free: 85.27 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001087/4.299, allocations: 47.97 kB / 2.035 GB, free: 85.22 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.0003421/4.299, allocations: 156.3 kB / 2.036 GB, free: 85.07 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002733/4.3, allocations: 158 kB / 2.036 GB, free: 84.91 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002293/4.302, allocations: 1.112 MB / 2.037 GB, free: 83.78 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-05/4.302, allocations: 8 kB / 2.037 GB, free: 83.77 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.179e-05/4.302, allocations: 7.938 kB / 2.037 GB, free: 83.76 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00129/4.303, allocations: 0.9324 MB / 2.038 GB, free: 82.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005601/4.309, allocations: 3.132 MB / 2.041 GB, free: 79.53 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-05/4.309, allocations: 4 kB / 2.041 GB, free: 79.53 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001177/4.31, allocations: 244.2 kB / 2.041 GB, free: 79.29 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.659e-05/4.31, allocations: 8 kB / 2.041 GB, free: 79.28 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.653e-05/4.31, allocations: 31.97 kB / 2.041 GB, free: 79.25 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.19e-05/4.31, allocations: 8 kB / 2.041 GB, free: 79.24 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.107e-06/4.31, allocations: 11.89 kB / 2.041 GB, free: 79.23 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002798/4.313, allocations: 2.097 MB / 2.043 GB, free: 76.88 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001083/4.314, allocations: 491.9 kB / 2.044 GB, free: 76.36 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000198/4.314, allocations: 27.83 kB / 2.044 GB, free: 76.34 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001425/4.316, allocations: 183.6 kB / 2.044 GB, free: 76.16 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001764/4.316, allocations: 68.41 kB / 2.044 GB, free: 76.09 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000109/4.316, allocations: 51.97 kB / 2.044 GB, free: 76.04 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00149/4.318, allocations: 0.9439 MB / 2.045 GB, free: 75.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.91e-07/4.318, allocations: 4 kB / 2.045 GB, free: 75.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002854/4.32, allocations: 0.8539 MB / 2.046 GB, free: 74.24 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.004238/4.325, allocations: 4.444 MB / 2.05 GB, free: 69.76 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002232/4.327, allocations: 1.484 MB / 2.052 GB, free: 68.25 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.144e-06/4.327, allocations: 0 / 2.052 GB, free: 68.25 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007578/4.328, allocations: 0.5188 MB / 2.052 GB, free: 67.73 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00397/4.332, allocations: 0.7646 MB / 2.053 GB, free: 66.98 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004545/4.336, allocations: 2.432 MB / 2.055 GB, free: 64.45 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006099/4.337, allocations: 1.28 MB / 2.056 GB, free: 63.14 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002154/4.339, allocations: 0.4904 MB / 2.057 GB, free: 62.65 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006801/4.34, allocations: 0.5656 MB / 2.057 GB, free: 62.09 MB / 0.948 GB Notification: Performance of SimCode: time 9.42e-07/4.34, allocations: 0 / 2.057 GB, free: 62.09 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07808/4.418, allocations: 51.05 MB / 2.107 GB, free: 11.41 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001684/4.418, allocations: 199.5 kB / 2.107 GB, free: 11.19 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.075/8.493, allocations: 0 / 2.107 GB, free: 11.19 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Chillers_Examples_ElectricReformulatedEIR_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Chillers_Examples_ElectricReformulatedEIR.fmu > Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe 2>&1)