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: translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 105.4 kB / 16.29 MB, free: 5.965 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.001261/0.001261, allocations: 182.2 kB / 17.22 MB, free: 5.598 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.724/1.724, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.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.89/1.89, allocations: 292.3 MB / 0.5495 GB, free: 17.54 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.001739/0.001739, allocations: 71.89 kB / 0.6722 GB, free: 6.547 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2753/0.2771, allocations: 114.6 MB / 0.7841 GB, free: 3.879 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.6118/0.8889, allocations: 60.44 MB / 0.8431 GB, free: 9.602 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02553/0.9145, allocations: 13.07 MB / 0.8559 GB, free: 256 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004672/0.9192, allocations: 69.31 kB / 0.8559 GB, free: 228 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.004682/0.924, allocations: 0.9525 MB / 0.8569 GB, free: 15.65 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01099/0.935, allocations: 2.303 MB / 0.8591 GB, free: 14.27 MB / 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.006352/0.9414, allocations: 1.555 MB / 0.8606 GB, free: 13.43 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.009283/0.9507, allocations: 4.268 MB / 0.8648 GB, free: 11.39 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003154/0.9539, allocations: 1.339 MB / 0.8661 GB, free: 10.8 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006135/0.96, allocations: 1.573 MB / 0.8676 GB, free: 10.07 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003468/0.9635, allocations: 1.188 MB / 0.8688 GB, free: 9.508 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0005243/0.9641, allocations: 139.9 kB / 0.8689 GB, free: 9.508 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0066/0.9707, allocations: 1.45 MB / 0.8703 GB, free: 8.93 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0007764/0.9715, allocations: 415 kB / 0.8707 GB, free: 8.613 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002319/0.9738, allocations: 0.8963 MB / 0.8716 GB, free: 8.016 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.009338/0.9831, allocations: 2.762 MB / 0.8743 GB, free: 6.195 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.9832, allocations: 0 / 0.8743 GB, free: 6.195 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.104e-06/0.9832, allocations: 0 / 0.8743 GB, free: 6.195 MB / 0.67 GB Notification: Performance of Transformations before backend: time 3.709e-05/0.9832, allocations: 3.75 kB / 0.8743 GB, free: 6.195 MB / 0.67 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.005909/0.9892, allocations: 2.165 MB / 0.8764 GB, free: 4.555 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 6.926e-05/0.9892, allocations: 10.28 kB / 0.8764 GB, free: 4.555 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004033/0.9933, allocations: 0.6014 MB / 0.877 GB, free: 4.301 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003165/0.9965, allocations: 1.342 MB / 0.8783 GB, free: 3.246 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002078/0.9967, allocations: 141.1 kB / 0.8785 GB, free: 3.148 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002207/0.9969, allocations: 99.69 kB / 0.8786 GB, free: 3.117 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003444/1, allocations: 1.305 MB / 0.8798 GB, free: 2.348 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.374e-05/1, allocations: 4 kB / 0.8798 GB, free: 2.344 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000107/1.001, allocations: 41.41 kB / 0.8799 GB, free: 2.312 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.115e-05/1.001, allocations: 24.38 kB / 0.8799 GB, free: 2.312 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003744/1.004, allocations: 1.311 MB / 0.8812 GB, free: 1.711 MB / 0.67 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.008858/1.013, allocations: 5.342 MB / 0.8864 GB, free: 13.17 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005522/1.019, allocations: 1.41 MB / 0.8878 GB, free: 12.41 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001847/1.021, allocations: 0.5816 MB / 0.8884 GB, free: 12.15 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001357/1.022, allocations: 1.241 MB / 0.8896 GB, free: 10.69 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001947/1.024, allocations: 0.6576 MB / 0.8902 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=69): time 2.494e-06/1.024, allocations: 0 / 0.8902 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of matching and sorting (n=69): time 0.00555/1.03, allocations: 1.675 MB / 0.8918 GB, free: 9.559 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.717e-05/1.03, allocations: 59.84 kB / 0.8919 GB, free: 9.492 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002175/1.032, allocations: 1.275 MB / 0.8931 GB, free: 8.801 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001463/1.032, allocations: 45.73 kB / 0.8932 GB, free: 8.758 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.000609/1.033, allocations: 0.6528 MB / 0.8938 GB, free: 8.184 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002623/1.033, allocations: 237.8 kB / 0.894 GB, free: 7.977 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003598/1.033, allocations: 172.4 kB / 0.8942 GB, free: 7.875 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001876/1.033, allocations: 336.9 kB / 0.8945 GB, free: 7.547 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001549/1.035, allocations: 0.5262 MB / 0.895 GB, free: 7.301 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001739/1.037, allocations: 0.7401 MB / 0.8958 GB, free: 6.805 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003058/1.04, allocations: 1.132 MB / 0.8969 GB, free: 6.188 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/1.04, allocations: 1.375 kB / 0.8969 GB, free: 6.188 MB / 0.6856 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.004053/1.044, allocations: 1.393 MB / 0.8982 GB, free: 5.051 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 5.046e-05/1.044, allocations: 37.77 kB / 0.8983 GB, free: 5.008 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/1.044, allocations: 4 kB / 0.8983 GB, free: 5.004 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.544e-05/1.044, allocations: 7.938 kB / 0.8983 GB, free: 4.996 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001404/1.045, allocations: 255.7 kB / 0.8985 GB, free: 4.746 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.977e-05/1.045, allocations: 9.625 kB / 0.8985 GB, free: 4.738 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001834/1.047, allocations: 187.1 kB / 0.8987 GB, free: 4.555 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001109/1.047, allocations: 39.97 kB / 0.8988 GB, free: 4.516 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002209/1.05, allocations: 0.7829 MB / 0.8995 GB, free: 3.73 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001763/1.051, allocations: 0.7375 MB / 0.9002 GB, free: 2.918 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003083/1.054, allocations: 1.12 MB / 0.9013 GB, free: 1.75 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.027e-06/1.055, allocations: 0 / 0.9013 GB, free: 1.75 MB / 0.6856 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.004117/1.059, allocations: 1.388 MB / 0.9027 GB, free: 356 kB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.274e-05/1.059, allocations: 38.94 kB / 0.9027 GB, free: 312 kB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/1.059, allocations: 0 / 0.9027 GB, free: 312 kB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/1.059, allocations: 8 kB / 0.9027 GB, free: 304 kB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001241/1.06, allocations: 247.7 kB / 0.903 GB, free: 56 kB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.224e-05/1.06, allocations: 11.94 kB / 0.903 GB, free: 44 kB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002031/1.062, allocations: 175.5 kB / 0.9031 GB, free: 15.87 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001344/1.062, allocations: 41.09 kB / 0.9032 GB, free: 15.83 MB / 0.7012 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.0003879/1.063, allocations: 225.2 kB / 0.9034 GB, free: 15.6 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006229/1.063, allocations: 146.2 kB / 0.9035 GB, free: 15.46 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004003/1.067, allocations: 1.453 MB / 0.905 GB, free: 13.98 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.941e-05/1.067, allocations: 11.98 kB / 0.905 GB, free: 13.97 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/1.067, allocations: 0 / 0.905 GB, free: 13.97 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003107/1.07, allocations: 1.218 MB / 0.9062 GB, free: 12.72 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008263/1.079, allocations: 3.187 MB / 0.9093 GB, free: 9.383 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.248e-05/1.079, allocations: 4 kB / 0.9093 GB, free: 9.379 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001127/1.08, allocations: 212.2 kB / 0.9095 GB, free: 9.172 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.125e-05/1.08, allocations: 15.94 kB / 0.9095 GB, free: 9.156 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.624e-05/1.08, allocations: 34.72 kB / 0.9095 GB, free: 9.125 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.133e-05/1.08, allocations: 11.94 kB / 0.9095 GB, free: 9.113 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/1.08, allocations: 4 kB / 0.9095 GB, free: 9.109 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005755/1.086, allocations: 2.196 MB / 0.9117 GB, free: 6.832 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001232/1.087, allocations: 347 kB / 0.912 GB, free: 6.473 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005515/1.088, allocations: 19.94 kB / 0.912 GB, free: 6.453 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001721/1.089, allocations: 131.9 kB / 0.9122 GB, free: 6.324 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001905/1.09, allocations: 68.36 kB / 0.9122 GB, free: 6.258 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001297/1.09, allocations: 39.97 kB / 0.9123 GB, free: 6.219 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001866/1.092, allocations: 0.9163 MB / 0.9132 GB, free: 5.305 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.2e-07/1.092, allocations: 0 / 0.9132 GB, free: 5.305 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.003528/1.095, allocations: 0.7914 MB / 0.9139 GB, free: 4.512 MB / 0.7012 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.001554/1.097, allocations: 0.5226 MB / 0.9144 GB, free: 4 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.005811/1.103, allocations: 1.984 MB / 0.9164 GB, free: 1.992 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.066e-05/1.103, allocations: 0 / 0.9164 GB, free: 1.992 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001935/1.104, allocations: 0.6834 MB / 0.9171 GB, free: 1.312 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004486/1.109, allocations: 0.758 MB / 0.9178 GB, free: 0.6211 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006245/1.115, allocations: 2.628 MB / 0.9204 GB, free: 13.91 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001635/1.117, allocations: 1.23 MB / 0.9216 GB, free: 12.64 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002204/1.119, allocations: 366.8 kB / 0.9219 GB, free: 12.3 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005264/1.12, allocations: 123.4 kB / 0.922 GB, free: 12.18 MB / 0.7169 GB Notification: Performance of SimCode: time 9.82e-07/1.12, allocations: 0 / 0.922 GB, free: 12.18 MB / 0.7169 GB Notification: Performance of Templates: time 0.06501/1.185, allocations: 31.57 MB / 0.9529 GB, free: 13.09 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR.makefile (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 & ./Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1)