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.001305/0.001305, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001582/0.001582, allocations: 192 kB / 16.13 MB, free: 6.664 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.67/1.67, allocations: 205.1 MB / 222 MB, free: 4.734 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.683/1.683, allocations: 292.2 MB / 0.5484 GB, free: 13.68 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.001325/0.001325, allocations: 60.75 kB / 0.6708 GB, free: 26.56 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2887/0.2901, allocations: 114.5 MB / 0.7827 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.0603/0.3504, allocations: 60.09 MB / 0.8413 GB, free: 1.738 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02033/0.3708, allocations: 13.13 MB / 0.8542 GB, free: 4.578 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003278/0.3741, allocations: 59.62 kB / 0.8542 GB, free: 4.52 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003288/0.3774, allocations: 0.8121 MB / 0.855 GB, free: 3.703 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.008173/0.3857, allocations: 2.134 MB / 0.8571 GB, free: 1.562 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.004725/0.3904, allocations: 1.396 MB / 0.8585 GB, free: 184 kB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.007911/0.3983, allocations: 5.519 MB / 0.8639 GB, free: 10.65 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002193/0.4006, allocations: 1.118 MB / 0.8649 GB, free: 9.5 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003463/0.4041, allocations: 1.365 MB / 0.8663 GB, free: 8.129 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002029/0.4061, allocations: 1.202 MB / 0.8674 GB, free: 6.922 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002066/0.4063, allocations: 75.94 kB / 0.8675 GB, free: 6.848 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003657/0.41, allocations: 1.341 MB / 0.8688 GB, free: 5.504 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0005216/0.4105, allocations: 358.5 kB / 0.8692 GB, free: 5.152 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001232/0.4118, allocations: 0.8276 MB / 0.87 GB, free: 4.32 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004501/0.4163, allocations: 2.664 MB / 0.8726 GB, free: 1.648 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.4163, allocations: 0 / 0.8726 GB, free: 1.648 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.302e-06/0.4163, allocations: 4 kB / 0.8726 GB, free: 1.645 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.215e-05/0.4163, allocations: 4 kB / 0.8726 GB, free: 1.641 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.004249/0.4206, allocations: 2.178 MB / 0.8747 GB, free: 15.4 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.602e-05/0.4207, allocations: 8.031 kB / 0.8747 GB, free: 15.39 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003582/0.4242, allocations: 0.5996 MB / 0.8753 GB, free: 14.79 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002281/0.4265, allocations: 1.361 MB / 0.8766 GB, free: 13.38 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001853/0.4267, allocations: 141.4 kB / 0.8768 GB, free: 13.22 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001576/0.4269, allocations: 104 kB / 0.8769 GB, free: 13.12 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002963/0.4299, allocations: 1.311 MB / 0.8782 GB, free: 11.78 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.692e-05/0.4299, allocations: 4 kB / 0.8782 GB, free: 11.77 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001047/0.43, allocations: 40 kB / 0.8782 GB, free: 11.73 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.729e-05/0.4301, allocations: 24 kB / 0.8782 GB, free: 11.71 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003442/0.4335, allocations: 1.315 MB / 0.8795 GB, free: 10.39 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.007432/0.441, allocations: 5.346 MB / 0.8847 GB, free: 4.699 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005461/0.4464, allocations: 1.405 MB / 0.8861 GB, free: 3.246 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001515/0.448, allocations: 0.5919 MB / 0.8867 GB, free: 2.652 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009239/0.4489, allocations: 1.232 MB / 0.8879 GB, free: 1.145 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001772/0.4507, allocations: 0.6549 MB / 0.8885 GB, free: 488 kB / 0.7012 GB Notification: Performance of pre-optimization done (n=69): time 3.657e-06/0.4507, allocations: 0 / 0.8885 GB, free: 488 kB / 0.7012 GB Notification: Performance of matching and sorting (n=69): time 0.005116/0.4558, allocations: 1.68 MB / 0.8902 GB, free: 14.79 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.103e-05/0.4559, allocations: 55.97 kB / 0.8902 GB, free: 14.72 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001794/0.4577, allocations: 1.263 MB / 0.8914 GB, free: 13.45 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001235/0.4578, allocations: 45.7 kB / 0.8915 GB, free: 13.4 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005753/0.4584, allocations: 0.6501 MB / 0.8921 GB, free: 12.74 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002622/0.4587, allocations: 236.5 kB / 0.8923 GB, free: 12.51 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003128/0.459, allocations: 174.5 kB / 0.8925 GB, free: 12.33 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.4592, allocations: 334 kB / 0.8928 GB, free: 12 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001502/0.4607, allocations: 0.5278 MB / 0.8933 GB, free: 11.46 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001707/0.4624, allocations: 0.743 MB / 0.8941 GB, free: 10.64 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002961/0.4654, allocations: 1.132 MB / 0.8952 GB, free: 9.465 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.4654, allocations: 0 / 0.8952 GB, free: 9.465 MB / 0.7169 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.004037/0.4694, allocations: 1.391 MB / 0.8965 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.871e-05/0.4695, allocations: 37.69 kB / 0.8966 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.4695, allocations: 4 kB / 0.8966 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.4695, allocations: 7.938 kB / 0.8966 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00125/0.4708, allocations: 255.9 kB / 0.8968 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.336e-05/0.4708, allocations: 8 kB / 0.8968 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001708/0.4725, allocations: 223 kB / 0.897 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.268e-05/0.4726, allocations: 35.98 kB / 0.8971 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001932/0.4746, allocations: 0.7829 MB / 0.8978 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001648/0.4762, allocations: 0.738 MB / 0.8986 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002834/0.4791, allocations: 1.12 MB / 0.8997 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.396e-06/0.4791, allocations: 0 / 0.8997 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.003672/0.4828, allocations: 1.387 MB / 0.901 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.982e-05/0.4828, allocations: 34.47 kB / 0.901 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.4829, allocations: 4 kB / 0.9011 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.4829, allocations: 8 kB / 0.9011 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00118/0.4841, allocations: 259.9 kB / 0.9013 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.4841, allocations: 8 kB / 0.9013 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001684/0.4858, allocations: 211.2 kB / 0.9015 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.738e-05/0.4859, allocations: 35.98 kB / 0.9016 GB, free: 2.766 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.0003707/0.4862, allocations: 232 kB / 0.9018 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002395/0.4865, allocations: 150.2 kB / 0.9019 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003777/0.4903, allocations: 1.45 MB / 0.9033 GB, free: 0.9141 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.857e-05/0.4903, allocations: 8 kB / 0.9033 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.4903, allocations: 3.938 kB / 0.9033 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003096/0.4934, allocations: 1.218 MB / 0.9045 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006474/0.4999, allocations: 3.167 MB / 0.9076 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.887e-06/0.5, allocations: 4 kB / 0.9076 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001099/0.5011, allocations: 220 kB / 0.9078 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.33e-05/0.5011, allocations: 11.94 kB / 0.9078 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.72e-05/0.5012, allocations: 27.98 kB / 0.9079 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.476e-06/0.5012, allocations: 8 kB / 0.9079 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.925e-06/0.5012, allocations: 15.92 kB / 0.9079 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005277/0.5065, allocations: 2.2 MB / 0.91 GB, free: 9.77 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008247/0.5073, allocations: 350.9 kB / 0.9104 GB, free: 9.406 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001989/0.5075, allocations: 19.94 kB / 0.9104 GB, free: 9.387 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001334/0.5089, allocations: 163.7 kB / 0.9106 GB, free: 9.227 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001523/0.509, allocations: 76.34 kB / 0.9106 GB, free: 9.152 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.053e-05/0.5091, allocations: 35.97 kB / 0.9107 GB, free: 9.117 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001207/0.5103, allocations: 0.9006 MB / 0.9115 GB, free: 8.219 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.91e-07/0.5103, allocations: 4 kB / 0.9115 GB, free: 8.215 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002169/0.5125, allocations: 0.7876 MB / 0.9123 GB, free: 7.426 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.001076/0.5136, allocations: 0.4922 MB / 0.9128 GB, free: 6.934 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005045/0.5186, allocations: 1.976 MB / 0.9147 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.5187, allocations: 4 kB / 0.9147 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001816/0.5205, allocations: 0.6795 MB / 0.9154 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003769/0.5243, allocations: 0.7477 MB / 0.9161 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004864/0.5291, allocations: 3.185 MB / 0.9192 GB, free: 248 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4082/0.9374, allocations: 1.224 MB / 0.9204 GB, free: 133.4 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002223/0.9397, allocations: 371.4 kB / 0.9208 GB, free: 133.4 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004381/0.9401, allocations: 122.9 kB / 0.9209 GB, free: 133.4 MB / 0.7325 GB Notification: Performance of SimCode: time 1.653e-06/0.9401, allocations: 0.8125 kB / 0.9209 GB, free: 133.4 MB / 0.7325 GB Notification: Performance of Templates: time 0.06395/1.004, allocations: 30.06 MB / 0.9503 GB, free: 123.6 MB / 0.7325 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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1)