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.0009907/0.0009907, allocations: 103.9 kB / 15.98 MB, free: 6.348 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.001075/0.001075, allocations: 198.9 kB / 16.91 MB, free: 6.188 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.412/1.412, allocations: 205.1 MB / 222.8 MB, free: 4.711 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.688/1.688, allocations: 292.3 MB / 0.5492 GB, free: 13.63 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.001401/0.001401, allocations: 70.58 kB / 0.6716 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2533/0.2547, allocations: 114.6 MB / 0.7835 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.0558/0.3106, allocations: 59.96 MB / 0.8421 GB, free: 1.727 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01952/0.3302, allocations: 12.97 MB / 0.8547 GB, free: 4.719 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003292/0.3335, allocations: 59.62 kB / 0.8548 GB, free: 4.66 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003334/0.3369, allocations: 0.8395 MB / 0.8556 GB, free: 3.816 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007489/0.3444, allocations: 2.146 MB / 0.8577 GB, free: 1.664 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.004919/0.3494, allocations: 1.416 MB / 0.8591 GB, free: 264 kB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.007376/0.3567, allocations: 4.302 MB / 0.8633 GB, free: 11.95 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002806/0.3596, allocations: 1.314 MB / 0.8646 GB, free: 10.6 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004974/0.3646, allocations: 1.599 MB / 0.8661 GB, free: 9.004 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002652/0.3673, allocations: 1.233 MB / 0.8673 GB, free: 7.766 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0006251/0.3679, allocations: 136 kB / 0.8675 GB, free: 7.633 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004082/0.372, allocations: 1.466 MB / 0.8689 GB, free: 6.164 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0007773/0.3728, allocations: 414.5 kB / 0.8693 GB, free: 5.758 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001884/0.3747, allocations: 0.9057 MB / 0.8702 GB, free: 4.848 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003733/0.3784, allocations: 2.085 MB / 0.8722 GB, free: 2.758 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 1.034e-05/0.3785, allocations: 0 / 0.8722 GB, free: 2.758 MB / 0.6856 GB Notification: Performance of FrontEnd: time 3.066e-06/0.3785, allocations: 0 / 0.8722 GB, free: 2.758 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001397/0.3786, allocations: 0 / 0.8722 GB, free: 2.758 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.005615/0.3843, allocations: 2.178 MB / 0.8743 GB, free: 0.5117 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.592e-05/0.3843, allocations: 12.03 kB / 0.8744 GB, free: 0.5 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00369/0.388, allocations: 0.5997 MB / 0.8749 GB, free: 15.89 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002633/0.3907, allocations: 1.365 MB / 0.8763 GB, free: 14.48 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001718/0.3909, allocations: 145.4 kB / 0.8764 GB, free: 14.32 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000155/0.391, allocations: 100 kB / 0.8765 GB, free: 14.23 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003109/0.3941, allocations: 1.307 MB / 0.8778 GB, free: 12.88 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.241e-05/0.3942, allocations: 3.984 kB / 0.8778 GB, free: 12.88 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001158/0.3943, allocations: 40 kB / 0.8778 GB, free: 12.84 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.84e-05/0.3944, allocations: 28 kB / 0.8779 GB, free: 12.81 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003689/0.3981, allocations: 1.311 MB / 0.8791 GB, free: 11.5 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.008691/0.4068, allocations: 5.342 MB / 0.8844 GB, free: 5.812 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005465/0.4123, allocations: 1.409 MB / 0.8857 GB, free: 4.355 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001587/0.4139, allocations: 0.588 MB / 0.8863 GB, free: 3.766 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001003/0.4149, allocations: 1.24 MB / 0.8875 GB, free: 2.25 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00184/0.4167, allocations: 0.6471 MB / 0.8881 GB, free: 1.59 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=69): time 4.468e-06/0.4168, allocations: 4 kB / 0.8881 GB, free: 1.586 MB / 0.7012 GB Notification: Performance of matching and sorting (n=69): time 0.005441/0.4222, allocations: 1.68 MB / 0.8898 GB, free: 15.9 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.831e-05/0.4223, allocations: 59.97 kB / 0.8898 GB, free: 15.83 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002971/0.4253, allocations: 1.263 MB / 0.8911 GB, free: 14.55 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002056/0.4255, allocations: 41.7 kB / 0.8911 GB, free: 14.51 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000867/0.4264, allocations: 0.6502 MB / 0.8918 GB, free: 13.85 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003081/0.4267, allocations: 236.6 kB / 0.892 GB, free: 13.62 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003913/0.4271, allocations: 174.5 kB / 0.8921 GB, free: 13.44 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.4273, allocations: 337.9 kB / 0.8925 GB, free: 13.1 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001527/0.4288, allocations: 0.52 MB / 0.893 GB, free: 12.58 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001728/0.4306, allocations: 0.7508 MB / 0.8937 GB, free: 11.75 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003069/0.4337, allocations: 1.128 MB / 0.8948 GB, free: 10.58 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.137e-06/0.4337, allocations: 4 kB / 0.8948 GB, free: 10.57 MB / 0.7169 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.004345/0.438, allocations: 1.391 MB / 0.8962 GB, free: 9.164 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.822e-05/0.4381, allocations: 37.64 kB / 0.8962 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.4381, allocations: 0 / 0.8962 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.083e-05/0.4382, allocations: 11.94 kB / 0.8962 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00133/0.4395, allocations: 259.8 kB / 0.8965 GB, free: 8.855 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.886e-05/0.4396, allocations: 4 kB / 0.8965 GB, free: 8.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001958/0.4415, allocations: 219 kB / 0.8967 GB, free: 8.637 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001471/0.4417, allocations: 43.97 kB / 0.8967 GB, free: 8.594 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002121/0.4438, allocations: 0.7829 MB / 0.8975 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001719/0.4456, allocations: 0.737 MB / 0.8982 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002952/0.4485, allocations: 1.12 MB / 0.8993 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.63e-06/0.4485, allocations: 0 / 0.8993 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.003921/0.4525, allocations: 1.38 MB / 0.9006 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.791e-05/0.4525, allocations: 37.7 kB / 0.9007 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.4525, allocations: 4 kB / 0.9007 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.4526, allocations: 8 kB / 0.9007 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0012/0.4538, allocations: 259.8 kB / 0.9009 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.133e-05/0.4538, allocations: 4 kB / 0.9009 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001939/0.4558, allocations: 215.2 kB / 0.9012 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001158/0.4559, allocations: 43.92 kB / 0.9012 GB, free: 3.871 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.0003771/0.4563, allocations: 232 kB / 0.9014 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005329/0.4568, allocations: 142.2 kB / 0.9016 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003957/0.4608, allocations: 1.454 MB / 0.903 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.729e-05/0.4608, allocations: 19.97 kB / 0.903 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.4608, allocations: 0 / 0.903 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00313/0.464, allocations: 1.21 MB / 0.9042 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007436/0.4714, allocations: 3.167 MB / 0.9073 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.418e-05/0.4715, allocations: 4 kB / 0.9073 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001144/0.4726, allocations: 215.8 kB / 0.9075 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-05/0.4727, allocations: 11.92 kB / 0.9075 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.21e-05/0.4728, allocations: 27.98 kB / 0.9075 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.194e-05/0.4728, allocations: 8 kB / 0.9075 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.815e-06/0.4728, allocations: 11.94 kB / 0.9075 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005791/0.4786, allocations: 2.2 MB / 0.9097 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001046/0.4797, allocations: 342.9 kB / 0.91 GB, free: 10.53 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004402/0.4801, allocations: 27.92 kB / 0.91 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001747/0.4819, allocations: 159.7 kB / 0.9102 GB, free: 10.35 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001749/0.4821, allocations: 72.36 kB / 0.9103 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001223/0.4822, allocations: 39.97 kB / 0.9103 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001731/0.484, allocations: 0.9007 MB / 0.9112 GB, free: 9.34 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.6e-07/0.484, allocations: 0 / 0.9112 GB, free: 9.34 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003067/0.487, allocations: 0.7798 MB / 0.9119 GB, free: 8.559 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.001474/0.4885, allocations: 0.512 MB / 0.9124 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005869/0.4944, allocations: 2.042 MB / 0.9144 GB, free: 5.984 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.275e-05/0.4945, allocations: 4 kB / 0.9144 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001864/0.4963, allocations: 0.66 MB / 0.9151 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004248/0.5006, allocations: 0.7635 MB / 0.9158 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005673/0.5063, allocations: 3.221 MB / 0.919 GB, free: 1.262 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00115/0.5075, allocations: 1.226 MB / 0.9202 GB, free: 8 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.4725/0.98, allocations: 134.5 kB / 0.9203 GB, free: 133.5 MB / 0.7325 GB Notification: Performance of SimCode: time 1.683e-06/0.98, allocations: 0.5 kB / 0.9203 GB, free: 133.5 MB / 0.7325 GB Notification: Performance of Templates: time 0.06145/1.041, allocations: 26.48 MB / 0.9461 GB, free: 125.5 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)