Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.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.ElectricReformulatedEIR,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Examples_ElectricReformulatedEIR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Examples_ElectricReformulatedEIR",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.409/1.409, allocations: 249.5 MB / 257 MB, free: 6.871 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.001099/0.001099, allocations: 172.9 kB / 316.3 MB, free: 3.25 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.656/1.656, allocations: 205.3 MB / 0.5671 GB, free: 15.84 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.0008342/0.0008343, allocations: 94.94 kB / 0.6714 GB, free: 4.949 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.972e-05/1.974e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2058/0.2059, allocations: 106.3 MB / 0.8853 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.477/1.683, allocations: 409.8 MB / 1.286 GB, free: 261.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002512/1.683, allocations: 86.61 kB / 1.286 GB, free: 261.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.671/3.354, allocations: 0.6025 GB / 1.888 GB, free: 37.11 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.476e-06/3.354, allocations: 4 kB / 1.888 GB, free: 37.1 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001627/3.354, allocations: 43.91 kB / 1.888 GB, free: 37.06 MB / 0.8698 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.003398/3.358, allocations: 1.772 MB / 1.89 GB, free: 35.25 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/3.358, allocations: 12.03 kB / 1.89 GB, free: 35.23 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003113/3.361, allocations: 0.6339 MB / 1.891 GB, free: 34.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002752/3.364, allocations: 1.654 MB / 1.892 GB, free: 32.93 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001131/3.364, allocations: 101.4 kB / 1.892 GB, free: 32.82 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000136/3.364, allocations: 64 kB / 1.892 GB, free: 32.76 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00137/3.365, allocations: 0.9293 MB / 1.893 GB, free: 31.83 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001391/3.367, allocations: 0.9909 MB / 1.894 GB, free: 30.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.615e-05/3.367, allocations: 0 / 1.894 GB, free: 30.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.876e-05/3.367, allocations: 4 kB / 1.894 GB, free: 30.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-05/3.367, allocations: 23.95 kB / 1.894 GB, free: 30.77 MB / 0.8698 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.005525/3.372, allocations: 5.241 MB / 1.899 GB, free: 25.25 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009669/3.373, allocations: 0.6766 MB / 1.9 GB, free: 24.57 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005274/3.374, allocations: 441.1 kB / 1.9 GB, free: 24.14 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006825/3.375, allocations: 1.239 MB / 1.902 GB, free: 22.62 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006274/3.375, allocations: 0.5275 MB / 1.902 GB, free: 22.08 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=67): time 2.966e-06/3.375, allocations: 0 / 1.902 GB, free: 22.08 MB / 0.8698 GB Notification: Performance of matching and sorting (n=67): time 0.001747/3.377, allocations: 0.9111 MB / 1.903 GB, free: 21.16 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.944e-05/3.377, allocations: 115.3 kB / 1.903 GB, free: 21.02 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001104/3.378, allocations: 1.043 MB / 1.904 GB, free: 19.97 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 7.603e-05/3.378, allocations: 33.7 kB / 1.904 GB, free: 19.93 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004207/3.379, allocations: 0.6815 MB / 1.905 GB, free: 19.24 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001595/3.379, allocations: 216.7 kB / 1.905 GB, free: 19.03 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.073e-05/3.379, allocations: 4.062 kB / 1.905 GB, free: 19.02 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.126e-05/3.379, allocations: 334 kB / 1.905 GB, free: 18.69 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004289/3.379, allocations: 349.4 kB / 1.906 GB, free: 18.35 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005733/3.38, allocations: 0.5953 MB / 1.906 GB, free: 17.65 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008582/3.381, allocations: 430.5 kB / 1.907 GB, free: 17.23 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/3.381, allocations: 4 kB / 1.907 GB, free: 17.23 MB / 0.8698 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001645/3.383, allocations: 1.026 MB / 1.908 GB, free: 16.19 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002684/3.383, allocations: 1.196 MB / 1.909 GB, free: 14.93 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/3.383, allocations: 0 / 1.909 GB, free: 14.93 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.622e-05/3.383, allocations: 12 kB / 1.909 GB, free: 14.91 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001201/3.384, allocations: 275.7 kB / 1.909 GB, free: 14.64 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/3.384, allocations: 15.92 kB / 1.909 GB, free: 14.63 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00149/3.386, allocations: 207.1 kB / 1.909 GB, free: 14.43 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/3.386, allocations: 47.97 kB / 1.909 GB, free: 14.38 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.878e-06/3.386, allocations: 4 kB / 1.909 GB, free: 14.38 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001492/3.387, allocations: 0.8539 MB / 1.91 GB, free: 13.52 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/3.387, allocations: 12.02 kB / 1.91 GB, free: 13.51 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.985e-06/3.387, allocations: 8 kB / 1.91 GB, free: 13.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001112/3.388, allocations: 271.7 kB / 1.911 GB, free: 13.23 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.81e-06/3.388, allocations: 4 kB / 1.911 GB, free: 13.23 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00139/3.39, allocations: 199.2 kB / 1.911 GB, free: 13.04 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-05/3.39, allocations: 51.97 kB / 1.911 GB, free: 12.98 MB / 0.8698 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.0002277/3.39, allocations: 128.7 kB / 1.911 GB, free: 12.85 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001508/3.392, allocations: 0.9111 MB / 1.912 GB, free: 11.94 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001556/3.392, allocations: 138.3 kB / 1.912 GB, free: 11.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001947/3.394, allocations: 1.103 MB / 1.913 GB, free: 10.69 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.197e-05/3.394, allocations: 8 kB / 1.913 GB, free: 10.68 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/3.394, allocations: 0 / 1.913 GB, free: 10.68 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001311/3.395, allocations: 0.9324 MB / 1.914 GB, free: 9.719 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004283/3.399, allocations: 2.97 MB / 1.917 GB, free: 6.621 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/3.4, allocations: 4 kB / 1.917 GB, free: 6.617 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001078/3.401, allocations: 239.7 kB / 1.917 GB, free: 6.383 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.286e-05/3.401, allocations: 8 kB / 1.917 GB, free: 6.375 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.175e-05/3.401, allocations: 27.97 kB / 1.917 GB, free: 6.348 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.354e-06/3.401, allocations: 11.94 kB / 1.917 GB, free: 6.336 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/3.401, allocations: 11.95 kB / 1.917 GB, free: 6.324 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002467/3.403, allocations: 2.041 MB / 1.919 GB, free: 4.074 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007163/3.404, allocations: 471.9 kB / 1.92 GB, free: 3.574 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001789/3.404, allocations: 16 kB / 1.92 GB, free: 3.559 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001246/3.405, allocations: 167.7 kB / 1.92 GB, free: 3.395 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/3.406, allocations: 68.41 kB / 1.92 GB, free: 3.328 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.425e-05/3.406, allocations: 47.95 kB / 1.92 GB, free: 3.281 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0009926/3.407, allocations: 0.8012 MB / 1.921 GB, free: 2.48 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.51e-07/3.407, allocations: 0 / 1.921 GB, free: 2.48 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002224/3.409, allocations: 0.8225 MB / 1.921 GB, free: 1.656 MB / 0.8698 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.5688/3.978, allocations: 4.425 MB / 1.926 GB, free: 143.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002638/3.98, allocations: 1.427 MB / 1.927 GB, free: 143.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 8.747e-06/3.98, allocations: 1.656 kB / 1.927 GB, free: 143.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009506/3.981, allocations: 0.4952 MB / 1.928 GB, free: 143.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003782/3.985, allocations: 0.6335 MB / 1.928 GB, free: 143.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005325/3.99, allocations: 2.336 MB / 1.931 GB, free: 142.7 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001028/3.992, allocations: 1.275 MB / 1.932 GB, free: 142 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002573/3.994, allocations: 465.7 kB / 1.932 GB, free: 142 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007998/3.995, allocations: 0.5646 MB / 1.933 GB, free: 142 MB / 0.8698 GB Notification: Performance of SimCode: time 8.61e-07/3.995, allocations: 0 / 1.933 GB, free: 142 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09315/4.088, allocations: 42.09 MB / 1.974 GB, free: 141.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001557/4.088, allocations: 195.5 kB / 1.974 GB, free: 140.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.582/7.67, allocations: 1.406 kB / 1.974 GB, free: 140.9 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Examples_ElectricReformulatedEIR_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Examples_ElectricReformulatedEIR.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe 2>&1)