Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.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.ElectricEIR,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Examples_ElectricEIR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.ElectricEIR,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Examples_ElectricEIR",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.481/1.481, allocations: 251.9 MB / 266.9 MB, free: 11.04 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.001154/0.001154, allocations: 181.1 kB / 326.5 MB, free: 2.234 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.93/1.93, allocations: 205.4 MB / 0.5775 GB, free: 20.3 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.0009925/0.0009923, allocations: 94.03 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003784/0.0003784, allocations: 11.78 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2209/0.2213, allocations: 106.3 MB / 0.9001 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.03904/0.2604, allocations: 50.6 MB / 0.9496 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0137/0.2741, allocations: 11.21 MB / 0.9605 GB, free: 1.867 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002632/0.2768, allocations: 59.56 kB / 0.9606 GB, free: 1.809 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.003303/0.2802, allocations: 0.9175 MB / 0.9615 GB, free: 0.8867 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.007268/0.2875, allocations: 2.223 MB / 0.9636 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.004954/0.2924, allocations: 1.613 MB / 0.9652 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.00483/0.2973, allocations: 2.538 MB / 0.9677 GB, free: 10.53 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001698/0.299, allocations: 0.9852 MB / 0.9686 GB, free: 9.527 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003016/0.302, allocations: 1.172 MB / 0.9698 GB, free: 8.352 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001709/0.3038, allocations: 0.7854 MB / 0.9706 GB, free: 7.559 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0002407/0.304, allocations: 56 kB / 0.9706 GB, free: 7.504 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002958/0.307, allocations: 0.8972 MB / 0.9715 GB, free: 6.605 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0003753/0.3074, allocations: 294.8 kB / 0.9718 GB, free: 6.316 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0006349/0.308, allocations: 360.8 kB / 0.9721 GB, free: 5.957 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002843/0.3109, allocations: 1.843 MB / 0.9739 GB, free: 4.109 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.3109, allocations: 0 / 0.9739 GB, free: 4.109 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.974e-06/0.3109, allocations: 4 kB / 0.9739 GB, free: 4.105 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.675e-05/0.3109, allocations: 0 / 0.9739 GB, free: 4.105 MB / 0.6198 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.004061/0.315, allocations: 1.866 MB / 0.9757 GB, free: 2.172 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.854e-05/0.3151, allocations: 11.97 kB / 0.9758 GB, free: 2.16 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002594/0.3153, allocations: 143.6 kB / 0.9759 GB, free: 2.012 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003449/0.3188, allocations: 0.6302 MB / 0.9765 GB, free: 1.379 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002575/0.3214, allocations: 1.225 MB / 0.9777 GB, free: 104 kB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002301/0.3216, allocations: 145.4 kB / 0.9778 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001679/0.3218, allocations: 96 kB / 0.9779 GB, free: 15.85 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002978/0.3248, allocations: 1.315 MB / 0.9792 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.522e-05/0.3248, allocations: 0 / 0.9792 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001095/0.325, allocations: 43.98 kB / 0.9793 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.813e-05/0.325, allocations: 28 kB / 0.9793 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003557/0.3286, allocations: 1.37 MB / 0.9806 GB, free: 13.06 MB / 0.6355 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.007743/0.3363, allocations: 5.362 MB / 0.9859 GB, free: 7.348 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005541/0.3419, allocations: 1.511 MB / 0.9873 GB, free: 5.789 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000979/0.3429, allocations: 1.232 MB / 0.9885 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001778/0.3447, allocations: 0.6744 MB / 0.9892 GB, free: 3.598 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=69): time 3.327e-06/0.3447, allocations: 0 / 0.9892 GB, free: 3.598 MB / 0.6355 GB Notification: Performance of matching and sorting (n=69): time 0.005152/0.3499, allocations: 1.774 MB / 0.9909 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.476e-05/0.3499, allocations: 55.97 kB / 0.991 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001837/0.3518, allocations: 1.259 MB / 0.9922 GB, free: 488 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001364/0.3519, allocations: 41.7 kB / 0.9923 GB, free: 440 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007036/0.3526, allocations: 0.6503 MB / 0.9929 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002636/0.3529, allocations: 240.4 kB / 0.9931 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.518e-05/0.353, allocations: 16 kB / 0.9931 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.3532, allocations: 349.8 kB / 0.9935 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001595/0.3548, allocations: 0.5446 MB / 0.994 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001736/0.3565, allocations: 0.7703 MB / 0.9947 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001603/0.3581, allocations: 0.594 MB / 0.9953 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.3582, allocations: 0 / 0.9953 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.003908/0.3621, allocations: 1.446 MB / 0.9967 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005687/0.3627, allocations: 1.192 MB / 0.9979 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.3627, allocations: 7.938 kB / 0.9979 GB, free: 10.45 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.518e-05/0.3627, allocations: 11.95 kB / 0.9979 GB, free: 10.44 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0013/0.364, allocations: 283.6 kB / 0.9982 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.529e-05/0.364, allocations: 8 kB / 0.9982 GB, free: 10.15 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001831/0.3659, allocations: 238.9 kB / 0.9984 GB, free: 9.918 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/0.366, allocations: 47.97 kB / 0.9985 GB, free: 9.871 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.366, allocations: 4 kB / 0.9985 GB, free: 9.867 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00352/0.3695, allocations: 1.298 MB / 0.9997 GB, free: 8.559 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.3696, allocations: 4 kB / 0.9998 GB, free: 8.555 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.3696, allocations: 4 kB / 0.9998 GB, free: 8.551 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001224/0.3708, allocations: 283.9 kB / 1 GB, free: 8.273 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.3708, allocations: 4 kB / 1 GB, free: 8.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001895/0.3727, allocations: 235.2 kB / 1 GB, free: 8.039 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.096e-05/0.3728, allocations: 39.98 kB / 1 GB, free: 8 MB / 0.6511 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 (95): * Single equations (assignments): 94 * 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.00104/0.3739, allocations: 408.8 kB / 1.001 GB, free: 7.59 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003443/0.3742, allocations: 146.2 kB / 1.001 GB, free: 7.445 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004067/0.3783, allocations: 1.516 MB / 1.002 GB, free: 5.91 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-05/0.3783, allocations: 8 kB / 1.002 GB, free: 5.902 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/0.3784, allocations: 3.984 kB / 1.002 GB, free: 5.898 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003446/0.3818, allocations: 1.285 MB / 1.004 GB, free: 4.586 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007526/0.3894, allocations: 3.233 MB / 1.007 GB, free: 1.191 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.194e-05/0.3894, allocations: 4 kB / 1.007 GB, free: 1.188 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001119/0.3905, allocations: 232.2 kB / 1.007 GB, free: 0.9609 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.637e-05/0.3906, allocations: 8 kB / 1.007 GB, free: 0.9531 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.117e-05/0.3906, allocations: 31.97 kB / 1.007 GB, free: 0.9219 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.049e-05/0.3907, allocations: 7.938 kB / 1.007 GB, free: 0.9141 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.184e-06/0.3907, allocations: 8 kB / 1.007 GB, free: 0.9062 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005928/0.3966, allocations: 2.587 MB / 1.01 GB, free: 14.06 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001124/0.3978, allocations: 370.8 kB / 1.01 GB, free: 13.68 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001992/0.398, allocations: 19.94 kB / 1.01 GB, free: 13.66 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001433/0.3994, allocations: 179.8 kB / 1.01 GB, free: 13.48 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001719/0.3996, allocations: 80.36 kB / 1.01 GB, free: 13.4 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.976e-05/0.3997, allocations: 35.97 kB / 1.01 GB, free: 13.37 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001373/0.4011, allocations: 0.8929 MB / 1.011 GB, free: 12.48 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4011, allocations: 0 / 1.011 GB, free: 12.48 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002143/0.4032, allocations: 0.7914 MB / 1.012 GB, free: 11.68 MB / 0.6667 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.007506/0.4107, allocations: 4.687 MB / 1.016 GB, free: 6.855 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.005403/0.4162, allocations: 2.074 MB / 1.018 GB, free: 4.758 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 8.907e-06/0.4162, allocations: 128 / 1.018 GB, free: 4.758 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.00192/0.4181, allocations: 0.7067 MB / 1.019 GB, free: 4.051 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004013/0.4222, allocations: 0.7444 MB / 1.02 GB, free: 3.32 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007979/0.4302, allocations: 5.749 MB / 1.025 GB, free: 13.41 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009525/0.4312, allocations: 1.265 MB / 1.027 GB, free: 12.11 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001967/0.4332, allocations: 350.9 kB / 1.027 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008828/0.434, allocations: 0.5695 MB / 1.028 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of SimCode: time 8.22e-07/0.4341, allocations: 0 / 1.028 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4779/0.9119, allocations: 41.56 MB / 1.068 GB, free: 143.8 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001817/0.9121, allocations: 232.1 kB / 1.068 GB, free: 143.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.569/4.481, allocations: 0 / 1.068 GB, free: 143.6 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Examples_ElectricEIR_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Examples_ElectricEIR.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1)