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.001102/0.001103, allocations: 117.3 kB / 16.38 MB, free: 6.023 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.001066/0.001066, allocations: 189.6 kB / 17.31 MB, free: 5.617 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.466/1.466, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.816/1.816, allocations: 292.3 MB / 0.5496 GB, free: 17.49 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.001481/0.001481, allocations: 72.47 kB / 0.6729 GB, free: 5.867 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.251/0.2525, allocations: 114.6 MB / 0.7848 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.4715/0.724, allocations: 60.45 MB / 0.8438 GB, free: 9.34 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02093/0.745, allocations: 13.07 MB / 0.8566 GB, free: 15.99 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003871/0.7489, allocations: 64.5 kB / 0.8567 GB, free: 15.96 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003802/0.7528, allocations: 0.9529 MB / 0.8576 GB, free: 15.39 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.009665/0.7625, allocations: 2.304 MB / 0.8598 GB, free: 14.01 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.006322/0.7689, allocations: 1.549 MB / 0.8613 GB, free: 13.18 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.008451/0.7773, allocations: 4.278 MB / 0.8655 GB, free: 11.13 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003192/0.7806, allocations: 1.325 MB / 0.8668 GB, free: 10.55 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006141/0.7867, allocations: 1.581 MB / 0.8684 GB, free: 9.816 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003803/0.7906, allocations: 1.185 MB / 0.8695 GB, free: 9.262 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0008269/0.7914, allocations: 139.6 kB / 0.8697 GB, free: 9.262 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007471/0.7989, allocations: 1.453 MB / 0.8711 GB, free: 8.598 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001202/0.8001, allocations: 407.3 kB / 0.8715 GB, free: 8.289 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.003251/0.8034, allocations: 0.9045 MB / 0.8723 GB, free: 7.684 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.007688/0.8111, allocations: 2.753 MB / 0.875 GB, free: 5.871 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.8111, allocations: 4.859 kB / 0.875 GB, free: 5.867 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.034e-06/0.8111, allocations: 0 / 0.875 GB, free: 5.867 MB / 0.67 GB Notification: Performance of Transformations before backend: time 3.492e-05/0.8112, allocations: 2.438 kB / 0.875 GB, free: 5.867 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.00489/0.816, allocations: 2.165 MB / 0.8772 GB, free: 4.23 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.8161, allocations: 8.719 kB / 0.8772 GB, free: 4.23 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003614/0.8197, allocations: 0.5993 MB / 0.8777 GB, free: 3.977 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00256/0.8223, allocations: 1.407 MB / 0.8791 GB, free: 2.891 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001984/0.8225, allocations: 154.8 kB / 0.8793 GB, free: 2.781 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000175/0.8227, allocations: 95.19 kB / 0.8794 GB, free: 2.754 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003145/0.8259, allocations: 1.309 MB / 0.8806 GB, free: 1.98 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.014e-05/0.8259, allocations: 5.062 kB / 0.8806 GB, free: 1.977 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001135/0.826, allocations: 36.84 kB / 0.8807 GB, free: 1.949 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-05/0.8261, allocations: 23.97 kB / 0.8807 GB, free: 1.949 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003758/0.8298, allocations: 1.316 MB / 0.882 GB, free: 1.344 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.008169/0.838, allocations: 5.34 MB / 0.8872 GB, free: 12.8 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005611/0.8436, allocations: 1.416 MB / 0.8886 GB, free: 12.04 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00164/0.8453, allocations: 0.5889 MB / 0.8892 GB, free: 11.77 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001037/0.8463, allocations: 1.237 MB / 0.8904 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001922/0.8483, allocations: 0.6494 MB / 0.891 GB, free: 9.957 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=69): time 3.657e-06/0.8483, allocations: 4 kB / 0.891 GB, free: 9.953 MB / 0.6856 GB Notification: Performance of matching and sorting (n=69): time 0.005703/0.854, allocations: 1.68 MB / 0.8926 GB, free: 9.184 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.24e-05/0.8541, allocations: 59.75 kB / 0.8927 GB, free: 9.117 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001985/0.8561, allocations: 1.275 MB / 0.8939 GB, free: 8.426 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001426/0.8562, allocations: 44.61 kB / 0.894 GB, free: 8.383 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007406/0.857, allocations: 0.643 MB / 0.8946 GB, free: 7.816 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003035/0.8573, allocations: 239.6 kB / 0.8948 GB, free: 7.609 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003704/0.8577, allocations: 173.3 kB / 0.895 GB, free: 7.508 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.8578, allocations: 332 kB / 0.8953 GB, free: 7.184 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0017/0.8595, allocations: 0.5333 MB / 0.8958 GB, free: 6.934 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002093/0.8616, allocations: 0.7443 MB / 0.8966 GB, free: 6.434 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003629/0.8653, allocations: 1.124 MB / 0.8977 GB, free: 5.82 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.348e-06/0.8653, allocations: 0 / 0.8977 GB, free: 5.82 MB / 0.6856 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.004092/0.8694, allocations: 1.403 MB / 0.899 GB, free: 4.402 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 5.083e-05/0.8694, allocations: 37.69 kB / 0.8991 GB, free: 4.359 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.8695, allocations: 4 kB / 0.8991 GB, free: 4.355 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.647e-05/0.8695, allocations: 12.81 kB / 0.8991 GB, free: 4.344 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001266/0.8708, allocations: 247.7 kB / 0.8993 GB, free: 4.102 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.991e-05/0.8708, allocations: 11.94 kB / 0.8993 GB, free: 4.09 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001837/0.8726, allocations: 183.1 kB / 0.8995 GB, free: 3.91 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.947e-05/0.8728, allocations: 31.98 kB / 0.8995 GB, free: 3.879 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002169/0.8749, allocations: 0.779 MB / 0.9003 GB, free: 3.098 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001767/0.8767, allocations: 0.7409 MB / 0.901 GB, free: 2.281 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003084/0.8798, allocations: 1.116 MB / 0.9021 GB, free: 1.117 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.128e-06/0.8798, allocations: 0 / 0.9021 GB, free: 1.117 MB / 0.6856 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.004083/0.8839, allocations: 1.386 MB / 0.9035 GB, free: 15.71 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 5.381e-05/0.884, allocations: 37.69 kB / 0.9035 GB, free: 15.67 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.884, allocations: 4.312 kB / 0.9035 GB, free: 15.67 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.884, allocations: 8 kB / 0.9035 GB, free: 15.66 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001234/0.8853, allocations: 251.7 kB / 0.9038 GB, free: 15.41 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.516e-05/0.8853, allocations: 11.88 kB / 0.9038 GB, free: 15.4 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001803/0.8871, allocations: 179.2 kB / 0.9039 GB, free: 15.23 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001146/0.8872, allocations: 39.97 kB / 0.904 GB, free: 15.19 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.0003678/0.8876, allocations: 225.2 kB / 0.9042 GB, free: 14.96 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002888/0.8879, allocations: 142.2 kB / 0.9043 GB, free: 14.82 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004334/0.8922, allocations: 1.454 MB / 0.9058 GB, free: 13.35 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003332/0.8956, allocations: 1.222 MB / 0.9069 GB, free: 12.09 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.8956, allocations: 0 / 0.9069 GB, free: 12.09 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008319/0.8964, allocations: 335 kB / 0.9073 GB, free: 11.75 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000208/0.8967, allocations: 11.98 kB / 0.9073 GB, free: 11.73 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001199/0.8979, allocations: 123.9 kB / 0.9074 GB, free: 11.61 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001785/0.8981, allocations: 52.58 kB / 0.9074 GB, free: 11.56 MB / 0.7012 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004264/0.9023, allocations: 1.403 MB / 0.9088 GB, free: 10.16 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00534/0.9077, allocations: 2.182 MB / 0.9109 GB, free: 7.953 MB / 0.7012 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001622/0.9093, allocations: 0.6024 MB / 0.9115 GB, free: 7.348 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001373/0.9107, allocations: 0.8801 MB / 0.9124 GB, free: 6.469 MB / 0.7012 GB Notification: Performance of Backend: time 4.6e-07/0.9107, allocations: 0 / 0.9124 GB, free: 6.469 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.006426/0.9172, allocations: 2.028 MB / 0.9144 GB, free: 4.441 MB / 0.7012 GB Notification: Performance of SimCode: time 0.005832/0.923, allocations: 3.164 MB / 0.9175 GB, free: 1.281 MB / 0.7012 GB Notification: Performance of Templates: time 0.06503/0.9881, allocations: 36.82 MB / 0.9534 GB, free: 12.95 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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1)