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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009179/0.0009179, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005284/0.005284, allocations: 170 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.242/1.242, allocations: 205.4 MB / 222.4 MB, free: 5.785 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.653/1.653, allocations: 292.7 MB / 0.5502 GB, free: 14.45 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005016/0.0005016, allocations: 13.38 kB / 0.6744 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.204/0.2046, allocations: 116.3 MB / 0.788 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.05416/0.2588, allocations: 58.97 MB / 0.8456 GB, free: 328 kB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01696/0.2758, allocations: 12.99 MB / 0.8583 GB, free: 3.297 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002267/0.2781, allocations: 55.62 kB / 0.8583 GB, free: 3.242 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002173/0.2803, allocations: 0.808 MB / 0.8591 GB, free: 2.43 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005568/0.2858, allocations: 2.134 MB / 0.8612 GB, free: 296 kB / 0.67 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Fluid/Chillers/BaseClasses/warnIfPerformanceOutOfBounds.mo:2:1-41:33:writable] Warning: Pure function ‘Buildings.Fluid.Chillers.BaseClasses.warnIfPerformanceOutOfBounds‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.003475/0.2893, allocations: 1.397 MB / 0.8626 GB, free: 14.9 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.00595/0.2953, allocations: 5.518 MB / 0.868 GB, free: 9.375 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001606/0.2969, allocations: 1.096 MB / 0.869 GB, free: 8.246 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002479/0.2994, allocations: 1.338 MB / 0.8703 GB, free: 6.902 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001529/0.301, allocations: 1.155 MB / 0.8715 GB, free: 5.742 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001504/0.3011, allocations: 60 kB / 0.8715 GB, free: 5.684 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002762/0.3039, allocations: 1.329 MB / 0.8728 GB, free: 4.352 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003418/0.3042, allocations: 334.5 kB / 0.8731 GB, free: 4.023 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.000907/0.3052, allocations: 0.8293 MB / 0.8739 GB, free: 3.184 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.00329/0.3084, allocations: 2.62 MB / 0.8765 GB, free: 0.5547 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.3085, allocations: 0 / 0.8765 GB, free: 0.5547 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3085, allocations: 4 kB / 0.8765 GB, free: 0.5508 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.89e-05/0.3085, allocations: 0 / 0.8765 GB, free: 0.5508 MB / 0.6856 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.003229/0.3117, allocations: 1.874 MB / 0.8783 GB, free: 14.61 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.3118, allocations: 8.031 kB / 0.8783 GB, free: 14.61 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001794/0.312, allocations: 147.9 kB / 0.8785 GB, free: 14.45 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003638/0.3156, allocations: 0.6345 MB / 0.8791 GB, free: 13.82 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002106/0.3177, allocations: 1.369 MB / 0.8804 GB, free: 12.39 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001509/0.3179, allocations: 145.4 kB / 0.8806 GB, free: 12.24 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001698/0.3181, allocations: 96 kB / 0.8807 GB, free: 12.14 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00293/0.321, allocations: 1.35 MB / 0.882 GB, free: 10.76 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.626e-05/0.3211, allocations: 0 / 0.882 GB, free: 10.76 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/0.3212, allocations: 40 kB / 0.882 GB, free: 10.72 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.403e-05/0.3212, allocations: 31.88 kB / 0.8821 GB, free: 10.69 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003793/0.325, allocations: 1.378 MB / 0.8834 GB, free: 9.312 MB / 0.7012 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.006774/0.3318, allocations: 5.37 MB / 0.8886 GB, free: 3.594 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006133/0.3379, allocations: 1.477 MB / 0.8901 GB, free: 2.074 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001725/0.3397, allocations: 0.6232 MB / 0.8907 GB, free: 1.445 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008776/0.3406, allocations: 1.236 MB / 0.8919 GB, free: 15.93 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001873/0.3425, allocations: 0.6823 MB / 0.8926 GB, free: 15.24 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=69): time 2.585e-06/0.3425, allocations: 7.938 kB / 0.8926 GB, free: 15.23 MB / 0.7169 GB Notification: Performance of matching and sorting (n=69): time 0.005333/0.3478, allocations: 1.777 MB / 0.8943 GB, free: 13.45 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/0.3479, allocations: 63.97 kB / 0.8944 GB, free: 13.38 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001557/0.3494, allocations: 1.255 MB / 0.8956 GB, free: 12.11 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.062e-05/0.3495, allocations: 45.7 kB / 0.8956 GB, free: 12.06 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005604/0.3501, allocations: 0.6618 MB / 0.8963 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002366/0.3504, allocations: 232.6 kB / 0.8965 GB, free: 11.16 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/0.3505, allocations: 65.69 kB / 0.8966 GB, free: 11.09 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.3506, allocations: 337.9 kB / 0.8969 GB, free: 10.75 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001635/0.3522, allocations: 0.5524 MB / 0.8974 GB, free: 10.2 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001785/0.354, allocations: 0.7742 MB / 0.8982 GB, free: 9.348 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003244/0.3573, allocations: 1.198 MB / 0.8994 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.3573, allocations: 0 / 0.8994 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00393/0.3612, allocations: 1.458 MB / 0.9008 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001295/0.3614, allocations: 211.1 kB / 0.901 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.3614, allocations: 0 / 0.901 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.3614, allocations: 15.94 kB / 0.901 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00133/0.3628, allocations: 267.7 kB / 0.9013 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.362e-05/0.3628, allocations: 8 kB / 0.9013 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001656/0.3644, allocations: 247 kB / 0.9015 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.956e-05/0.3646, allocations: 35.98 kB / 0.9015 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.028e-05/0.3646, allocations: 4 kB / 0.9015 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003606/0.3682, allocations: 1.305 MB / 0.9028 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.3682, allocations: 4.312 kB / 0.9028 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.516e-06/0.3682, allocations: 12 kB / 0.9028 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001265/0.3695, allocations: 267.6 kB / 0.9031 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-06/0.3695, allocations: 11.94 kB / 0.9031 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00159/0.3711, allocations: 235.1 kB / 0.9033 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-05/0.3712, allocations: 39.98 kB / 0.9034 GB, free: 3.941 MB / 0.7169 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 (chi.on,pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000641/0.3718, allocations: 412.8 kB / 0.9037 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001923/0.372, allocations: 142.2 kB / 0.9039 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004015/0.3761, allocations: 1.516 MB / 0.9054 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.686e-05/0.3761, allocations: 11.94 kB / 0.9054 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.3761, allocations: 3.938 kB / 0.9054 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003365/0.3795, allocations: 1.289 MB / 0.9066 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006546/0.386, allocations: 3.249 MB / 0.9098 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/0.3861, allocations: 7.984 kB / 0.9098 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001206/0.3873, allocations: 236.2 kB / 0.91 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.015e-05/0.3873, allocations: 8 kB / 0.9101 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.467e-05/0.3874, allocations: 27.92 kB / 0.9101 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.455e-06/0.3874, allocations: 7.984 kB / 0.9101 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.849e-06/0.3874, allocations: 23.92 kB / 0.9101 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005526/0.3929, allocations: 2.302 MB / 0.9124 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000575/0.3935, allocations: 370.8 kB / 0.9127 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001744/0.3937, allocations: 24 kB / 0.9127 GB, free: 10.01 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00147/0.3952, allocations: 179.7 kB / 0.9129 GB, free: 9.836 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001433/0.3953, allocations: 72.36 kB / 0.913 GB, free: 9.766 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.891e-05/0.3954, allocations: 35.97 kB / 0.913 GB, free: 9.73 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001173/0.3966, allocations: 0.9046 MB / 0.9139 GB, free: 8.828 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3966, allocations: 3.938 kB / 0.9139 GB, free: 8.824 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001901/0.3985, allocations: 0.7798 MB / 0.9147 GB, free: 8.043 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00674/0.4053, allocations: 3.248 MB / 0.9178 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005599/0.4109, allocations: 2.085 MB / 0.9199 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.4109, allocations: 0 / 0.9199 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001954/0.4129, allocations: 0.7069 MB / 0.9206 GB, free: 1.906 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00478/0.4177, allocations: 0.7666 MB / 0.9213 GB, free: 1.152 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3604/0.7781, allocations: 13.39 MB / 0.9344 GB, free: 128 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006741/0.7788, allocations: 1.231 MB / 0.9356 GB, free: 127.3 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00171/0.7805, allocations: 371.1 kB / 0.9359 GB, free: 127.3 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007522/0.7813, allocations: 0.5796 MB / 0.9365 GB, free: 126.8 MB / 0.7325 GB Notification: Performance of SimCode: time 7.41e-07/0.7813, allocations: 3.75 kB / 0.9365 GB, free: 126.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06272/0.844, allocations: 42.9 MB / 0.9784 GB, free: 102.7 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001347/0.8442, allocations: 237.2 kB / 0.9786 GB, free: 102.5 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.936/3.78, allocations: 0 / 0.9786 GB, free: 102.5 MB / 0.7325 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/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)