Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Chillers_Examples_ElectricReformulatedEIR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.731/2.731, allocations: 287.3 MB / 302.3 MB, free: 8.27 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.0016/0.0016, allocations: 178.8 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.168/2.168, allocations: 205.4 MB / 0.6295 GB, free: 10.49 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001058/0.001058, allocations: 88.95 kB / 0.7428 GB, free: 6.496 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005093/0.0005094, allocations: 12.06 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2379/0.2384, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.39/1.629, allocations: 416.9 MB / 1.385 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000358/1.629, allocations: 94.05 kB / 1.386 GB, free: 13.4 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.549/5.178, allocations: 0.6253 GB / 2.011 GB, free: 122.4 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.655e-06/5.178, allocations: 0 / 2.011 GB, free: 122.4 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002475/5.178, allocations: 43.98 kB / 2.011 GB, free: 122.4 MB / 0.9323 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.007652/5.186, allocations: 2.099 MB / 2.013 GB, free: 120.2 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/5.186, allocations: 11.97 kB / 2.013 GB, free: 120.2 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005798/5.187, allocations: 143.7 kB / 2.013 GB, free: 120.1 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006296/5.193, allocations: 0.6355 MB / 2.014 GB, free: 119.4 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005656/5.199, allocations: 1.671 MB / 2.015 GB, free: 117.7 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002198/5.199, allocations: 149.4 kB / 2.015 GB, free: 117.6 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003089/5.199, allocations: 100 kB / 2.016 GB, free: 117.5 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005035/5.204, allocations: 1.347 MB / 2.017 GB, free: 116.1 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.047e-05/5.205, allocations: 0 / 2.017 GB, free: 116.1 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001727/5.205, allocations: 40 kB / 2.017 GB, free: 116.1 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-05/5.205, allocations: 20 kB / 2.017 GB, free: 116 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006589/5.211, allocations: 1.405 MB / 2.018 GB, free: 114.6 MB / 0.9323 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01156/5.223, allocations: 5.43 MB / 2.024 GB, free: 108.9 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004406/5.227, allocations: 0.9768 MB / 2.025 GB, free: 107.9 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001048/5.229, allocations: 1.239 MB / 2.026 GB, free: 106.4 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003251/5.232, allocations: 0.7289 MB / 2.027 GB, free: 105.6 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=67): time 5.761e-06/5.232, allocations: 0 / 2.027 GB, free: 105.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=67): time 0.009495/5.241, allocations: 1.859 MB / 2.028 GB, free: 103.8 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.041e-05/5.241, allocations: 59.97 kB / 2.028 GB, free: 103.7 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002651/5.244, allocations: 1.188 MB / 2.03 GB, free: 102.5 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0003432/5.245, allocations: 45.7 kB / 2.03 GB, free: 102.5 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007365/5.245, allocations: 0.6819 MB / 2.03 GB, free: 101.8 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003312/5.246, allocations: 228.7 kB / 2.03 GB, free: 101.5 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001138/5.246, allocations: 12 kB / 2.03 GB, free: 101.5 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.796e-05/5.246, allocations: 341.9 kB / 2.031 GB, free: 101.2 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002911/5.249, allocations: 0.5601 MB / 2.031 GB, free: 100.6 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003243/5.252, allocations: 0.8322 MB / 2.032 GB, free: 99.69 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003026/5.255, allocations: 0.6087 MB / 2.033 GB, free: 99.08 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-05/5.255, allocations: 0 / 2.033 GB, free: 99.08 MB / 0.9323 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00699/5.262, allocations: 1.473 MB / 2.034 GB, free: 97.59 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.000304/5.263, allocations: 1.201 MB / 2.035 GB, free: 96.28 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/5.263, allocations: 4 kB / 2.035 GB, free: 96.27 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.068e-05/5.263, allocations: 8 kB / 2.035 GB, free: 96.27 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002506/5.265, allocations: 271.7 kB / 2.036 GB, free: 96 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.501e-05/5.265, allocations: 7.938 kB / 2.036 GB, free: 95.99 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003402/5.269, allocations: 239 kB / 2.036 GB, free: 95.76 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003342/5.269, allocations: 51.97 kB / 2.036 GB, free: 95.71 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/5.269, allocations: 4 kB / 2.036 GB, free: 95.7 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007593/5.277, allocations: 1.317 MB / 2.037 GB, free: 94.38 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.776e-05/5.277, allocations: 0 / 2.037 GB, free: 94.38 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/5.277, allocations: 11.94 kB / 2.037 GB, free: 94.37 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002485/5.279, allocations: 272 kB / 2.037 GB, free: 94.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.686e-05/5.279, allocations: 4 kB / 2.037 GB, free: 94.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003282/5.283, allocations: 239.1 kB / 2.038 GB, free: 93.86 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002263/5.283, allocations: 47.97 kB / 2.038 GB, free: 93.82 MB / 0.9323 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 () * Number of clocked 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.001156/5.284, allocations: 412.9 kB / 2.038 GB, free: 93.4 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005101/5.285, allocations: 154.1 kB / 2.038 GB, free: 93.25 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006923/5.292, allocations: 1.541 MB / 2.04 GB, free: 91.7 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-05/5.292, allocations: 8 kB / 2.04 GB, free: 91.69 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/5.292, allocations: 0 / 2.04 GB, free: 91.69 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005955/5.298, allocations: 1.359 MB / 2.041 GB, free: 90.3 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0116/5.309, allocations: 3.425 MB / 2.044 GB, free: 86.71 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.3e-05/5.309, allocations: 8.562 kB / 2.044 GB, free: 86.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002176/5.312, allocations: 238.2 kB / 2.045 GB, free: 86.47 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.516e-05/5.312, allocations: 11.98 kB / 2.045 GB, free: 86.46 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000115/5.312, allocations: 31.98 kB / 2.045 GB, free: 86.43 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.257e-05/5.312, allocations: 15.89 kB / 2.045 GB, free: 86.41 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/5.312, allocations: 8 kB / 2.045 GB, free: 86.41 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009873/5.322, allocations: 2.725 MB / 2.047 GB, free: 83.43 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00138/5.323, allocations: 487.8 kB / 2.048 GB, free: 82.91 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003853/5.323, allocations: 27.94 kB / 2.048 GB, free: 82.89 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002769/5.326, allocations: 183.7 kB / 2.048 GB, free: 82.71 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002458/5.327, allocations: 72.42 kB / 2.048 GB, free: 82.64 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001648/5.327, allocations: 51.97 kB / 2.048 GB, free: 82.59 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001975/5.329, allocations: 0.9604 MB / 2.049 GB, free: 81.63 MB / 0.9323 GB Notification: Performance of sort global known variables: time 5.51e-07/5.329, allocations: 0 / 2.049 GB, free: 81.63 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003569/5.332, allocations: 0.8539 MB / 2.05 GB, free: 80.77 MB / 0.9323 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) * Number of clocked states: 0 () * 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.01243/5.345, allocations: 5.065 MB / 2.055 GB, free: 75.63 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.009531/5.354, allocations: 2.062 MB / 2.057 GB, free: 73.55 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.118e-05/5.354, allocations: 4 kB / 2.057 GB, free: 73.54 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.003411/5.358, allocations: 0.7186 MB / 2.058 GB, free: 72.82 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00698/5.365, allocations: 0.769 MB / 2.058 GB, free: 72.07 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03105/5.396, allocations: 11.73 MB / 2.07 GB, free: 59.93 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009168/5.397, allocations: 1.284 MB / 2.071 GB, free: 58.61 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.003271/5.4, allocations: 375.5 kB / 2.071 GB, free: 58.27 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001721/5.402, allocations: 0.5891 MB / 2.072 GB, free: 57.68 MB / 0.9323 GB Notification: Performance of SimCode: time 1.804e-06/5.402, allocations: 0 / 2.072 GB, free: 57.68 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1242/5.526, allocations: 48.36 MB / 2.119 GB, free: 9.957 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000269/5.527, allocations: 223.2 kB / 2.12 GB, free: 9.719 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.668/10.19, allocations: 0 / 2.12 GB, free: 9.719 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Chillers_Examples_ElectricReformulatedEIR_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Chillers_Examples_ElectricReformulatedEIR.fmu > Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe 2>&1)