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.408/1.408, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001492/0.001492, allocations: 187.3 kB / 326.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.047/2.047, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.0008963/0.0008965, allocations: 85.73 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000501/0.0005011, allocations: 10.38 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.3246, allocations: 106.3 MB / 0.9001 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.141/1.465, allocations: 409.6 MB / 1.3 GB, free: 5.953 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002967/1.466, allocations: 91.7 kB / 1.3 GB, free: 5.902 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.636/4.102, allocations: 0.608 GB / 1.908 GB, free: 176.9 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.785e-06/4.102, allocations: 3.906 kB / 1.908 GB, free: 176.9 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003244/4.103, allocations: 48.55 kB / 1.908 GB, free: 176.9 MB / 0.8855 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.008686/4.111, allocations: 2.094 MB / 1.91 GB, free: 175.4 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 7.104e-05/4.111, allocations: 7.844 kB / 1.91 GB, free: 175.4 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008034/4.112, allocations: 147 kB / 1.911 GB, free: 175.3 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004466/4.117, allocations: 0.6292 MB / 1.911 GB, free: 175 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006012/4.123, allocations: 1.668 MB / 1.913 GB, free: 173.9 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000276/4.123, allocations: 151.3 kB / 1.913 GB, free: 173.8 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005214/4.124, allocations: 101.2 kB / 1.913 GB, free: 173.8 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004805/4.128, allocations: 1.341 MB / 1.914 GB, free: 173 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.956e-05/4.128, allocations: 0 / 1.914 GB, free: 173 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002683/4.129, allocations: 34.69 kB / 1.914 GB, free: 173 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.388e-05/4.129, allocations: 29.7 kB / 1.914 GB, free: 172.9 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004455/4.133, allocations: 1.4 MB / 1.916 GB, free: 172.3 MB / 0.8855 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.01001/4.143, allocations: 5.419 MB / 1.921 GB, free: 166.8 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002428/4.146, allocations: 0.9696 MB / 1.922 GB, free: 165.9 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008629/4.147, allocations: 1.241 MB / 1.923 GB, free: 164.4 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001784/4.148, allocations: 0.7083 MB / 1.924 GB, free: 163.6 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=67): time 4.288e-06/4.149, allocations: 0 / 1.924 GB, free: 163.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=67): time 0.005363/4.154, allocations: 1.855 MB / 1.926 GB, free: 161.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.887e-05/4.154, allocations: 71.89 kB / 1.926 GB, free: 161.7 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002591/4.157, allocations: 1.184 MB / 1.927 GB, free: 160.6 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001958/4.157, allocations: 45.7 kB / 1.927 GB, free: 160.5 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007428/4.158, allocations: 0.681 MB / 1.928 GB, free: 159.8 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002852/4.158, allocations: 224.2 kB / 1.928 GB, free: 159.6 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.71e-05/4.158, allocations: 16 kB / 1.928 GB, free: 159.6 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.223e-05/4.158, allocations: 334 kB / 1.928 GB, free: 159.3 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001567/4.16, allocations: 0.5592 MB / 1.929 GB, free: 158.7 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00179/4.161, allocations: 0.8323 MB / 1.93 GB, free: 157.8 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001627/4.163, allocations: 0.6087 MB / 1.93 GB, free: 157.2 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.127e-06/4.163, allocations: 0 / 1.93 GB, free: 157.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00407/4.167, allocations: 1.471 MB / 1.932 GB, free: 155.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004955/4.168, allocations: 1.208 MB / 1.933 GB, free: 154.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.98e-05/4.168, allocations: 4 kB / 1.933 GB, free: 154.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.034e-05/4.168, allocations: 7.422 kB / 1.933 GB, free: 154.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001296/4.169, allocations: 275.7 kB / 1.933 GB, free: 154.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.694e-05/4.169, allocations: 11.98 kB / 1.933 GB, free: 154.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00226/4.171, allocations: 236.5 kB / 1.933 GB, free: 153.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002032/4.172, allocations: 51.95 kB / 1.933 GB, free: 153.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/4.172, allocations: 4 kB / 1.933 GB, free: 153.9 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003335/4.175, allocations: 1.315 MB / 1.935 GB, free: 152.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/4.175, allocations: 4 kB / 1.935 GB, free: 152.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/4.175, allocations: 4.312 kB / 1.935 GB, free: 152.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001203/4.176, allocations: 275.6 kB / 1.935 GB, free: 152.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.049e-05/4.176, allocations: 7.953 kB / 1.935 GB, free: 152.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002211/4.178, allocations: 239.1 kB / 1.935 GB, free: 152.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001705/4.179, allocations: 47.97 kB / 1.935 GB, free: 152 MB / 0.8855 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.001074/4.18, allocations: 413.4 kB / 1.936 GB, free: 151.6 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005621/4.18, allocations: 150.1 kB / 1.936 GB, free: 151.4 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004087/4.184, allocations: 1.542 MB / 1.937 GB, free: 149.9 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.179e-05/4.184, allocations: 8 kB / 1.937 GB, free: 149.9 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/4.184, allocations: 3.953 kB / 1.937 GB, free: 149.9 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00306/4.188, allocations: 1.355 MB / 1.939 GB, free: 148.5 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007983/4.196, allocations: 3.434 MB / 1.942 GB, free: 144.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.466e-05/4.196, allocations: 4 kB / 1.942 GB, free: 144.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001168/4.197, allocations: 244.2 kB / 1.942 GB, free: 144.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.286e-05/4.197, allocations: 8 kB / 1.942 GB, free: 144.7 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.95e-05/4.197, allocations: 35.88 kB / 1.942 GB, free: 144.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.688e-06/4.197, allocations: 7.938 kB / 1.942 GB, free: 144.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/4.197, allocations: 11.98 kB / 1.942 GB, free: 144.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005766/4.203, allocations: 2.725 MB / 1.945 GB, free: 141.7 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001568/4.204, allocations: 479.9 kB / 1.945 GB, free: 141.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005842/4.205, allocations: 27.94 kB / 1.945 GB, free: 141.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001988/4.207, allocations: 175.7 kB / 1.945 GB, free: 140.9 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001919/4.207, allocations: 76.36 kB / 1.946 GB, free: 140.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001434/4.207, allocations: 51.97 kB / 1.946 GB, free: 140.8 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001976/4.209, allocations: 0.9566 MB / 1.947 GB, free: 139.9 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.41e-07/4.209, allocations: 0 / 1.947 GB, free: 139.9 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003828/4.213, allocations: 0.8634 MB / 1.947 GB, free: 139 MB / 0.8855 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.007745/4.221, allocations: 5.057 MB / 1.952 GB, free: 133.9 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.005107/4.226, allocations: 2.066 MB / 1.954 GB, free: 131.8 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 9.448e-06/4.226, allocations: 4 kB / 1.954 GB, free: 131.8 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001838/4.228, allocations: 0.7225 MB / 1.955 GB, free: 131.1 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004324/4.232, allocations: 0.7623 MB / 1.956 GB, free: 130.4 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02199/4.254, allocations: 11.73 MB / 1.967 GB, free: 118.2 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001036/4.255, allocations: 1.277 MB / 1.969 GB, free: 116.9 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002448/4.258, allocations: 375.6 kB / 1.969 GB, free: 116.6 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001071/4.259, allocations: 0.5891 MB / 1.969 GB, free: 116 MB / 0.8855 GB Notification: Performance of SimCode: time 1.092e-06/4.259, allocations: 0 / 1.969 GB, free: 116 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08134/4.34, allocations: 48.25 MB / 2.017 GB, free: 68.85 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001993/4.341, allocations: 242.6 kB / 2.017 GB, free: 68.6 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.793/8.134, allocations: 64 / 2.017 GB, free: 68.6 MB / 0.8855 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)