Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.351/2.351, allocations: 251.3 MB / 266.2 MB, free: 11.53 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001353/0.001353, allocations: 178.1 kB / 325.8 MB, free: 2.805 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.78/2.78, allocations: 205.4 MB / 0.5767 GB, free: 20.75 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001014/0.001013, allocations: 102.3 kB / 0.6812 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005093/0.0005094, allocations: 12.69 kB / 0.7953 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.2325, allocations: 106.2 MB / 0.899 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.06638/0.299, allocations: 55.78 MB / 0.9535 GB, free: 9.508 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02206/0.3211, allocations: 12.19 MB / 0.9654 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002748/0.3239, allocations: 59.56 kB / 0.9655 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.003588/0.3275, allocations: 0.6987 MB / 0.9661 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.008204/0.3358, allocations: 1.821 MB / 0.9679 GB, free: 10.71 MB / 0.6198 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.005689/0.3415, allocations: 1.128 MB / 0.969 GB, free: 9.59 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.009292/0.3508, allocations: 4.764 MB / 0.9737 GB, free: 4.809 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002857/0.3537, allocations: 1.032 MB / 0.9747 GB, free: 3.758 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004419/0.3582, allocations: 1.295 MB / 0.9759 GB, free: 2.457 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003056/0.3613, allocations: 1.097 MB / 0.977 GB, free: 1.355 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0005686/0.3619, allocations: 56 kB / 0.9771 GB, free: 1.301 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004465/0.3664, allocations: 0.9862 MB / 0.978 GB, free: 320 kB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0009711/0.3674, allocations: 318.6 kB / 0.9783 GB, free: 0 / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0009937/0.3684, allocations: 356.9 kB / 0.9787 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.004564/0.373, allocations: 1.913 MB / 0.9805 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/0.3731, allocations: 0 / 0.9805 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.475e-06/0.3731, allocations: 0 / 0.9805 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.836e-05/0.3731, allocations: 4 kB / 0.9805 GB, free: 13.72 MB / 0.6355 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.005573/0.3787, allocations: 1.894 MB / 0.9824 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.3788, allocations: 8.031 kB / 0.9824 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006285/0.3851, allocations: 0.6386 MB / 0.983 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003887/0.389, allocations: 1.315 MB / 0.9843 GB, free: 9.746 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002313/0.3893, allocations: 141.4 kB / 0.9844 GB, free: 9.598 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002667/0.3896, allocations: 99.94 kB / 0.9845 GB, free: 9.5 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005254/0.3948, allocations: 1.326 MB / 0.9858 GB, free: 8.137 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.597e-05/0.3949, allocations: 3.984 kB / 0.9858 GB, free: 8.133 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000168/0.3951, allocations: 36 kB / 0.9859 GB, free: 8.098 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-05/0.3952, allocations: 31.94 kB / 0.9859 GB, free: 8.066 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006799/0.402, allocations: 1.374 MB / 0.9872 GB, free: 6.691 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.01294/0.415, allocations: 5.354 MB / 0.9925 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01069/0.4257, allocations: 1.488 MB / 0.9939 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00502/0.4308, allocations: 0.6154 MB / 0.9945 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002178/0.433, allocations: 1.243 MB / 0.9957 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005226/0.4383, allocations: 0.6706 MB / 0.9964 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=69): time 9.578e-06/0.4384, allocations: 3.938 kB / 0.9964 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of matching and sorting (n=69): time 0.0156/0.454, allocations: 1.774 MB / 0.9981 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.499e-05/0.4542, allocations: 59.97 kB / 0.9982 GB, free: 10.77 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004121/0.4583, allocations: 1.247 MB / 0.9994 GB, free: 9.516 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0003374/0.4587, allocations: 45.7 kB / 0.9995 GB, free: 9.465 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.001216/0.46, allocations: 0.6385 MB / 1 GB, free: 8.82 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005969/0.4606, allocations: 244.5 kB / 1 GB, free: 8.578 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.271e-05/0.4607, allocations: 16 kB / 1 GB, free: 8.562 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001793/0.4609, allocations: 337.9 kB / 1.001 GB, free: 8.227 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003013/0.4639, allocations: 0.5406 MB / 1.001 GB, free: 7.684 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003288/0.4673, allocations: 0.7742 MB / 1.002 GB, free: 6.828 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003065/0.4704, allocations: 0.5941 MB / 1.003 GB, free: 6.23 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.124e-06/0.4704, allocations: 0 / 1.003 GB, free: 6.23 MB / 0.6511 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00698/0.4774, allocations: 1.454 MB / 1.004 GB, free: 4.762 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001799/0.4777, allocations: 203 kB / 1.004 GB, free: 4.516 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.474e-05/0.4777, allocations: 4 kB / 1.004 GB, free: 4.512 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.158e-05/0.4777, allocations: 8 kB / 1.004 GB, free: 4.504 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002437/0.4802, allocations: 275.6 kB / 1.004 GB, free: 4.234 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.354e-05/0.4802, allocations: 8 kB / 1.004 GB, free: 4.227 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003051/0.4833, allocations: 239.1 kB / 1.005 GB, free: 3.992 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002039/0.4835, allocations: 39.97 kB / 1.005 GB, free: 3.953 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.4836, allocations: 0 / 1.005 GB, free: 3.953 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007011/0.4906, allocations: 1.301 MB / 1.006 GB, free: 2.645 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/0.4907, allocations: 4.312 kB / 1.006 GB, free: 2.641 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.4907, allocations: 12 kB / 1.006 GB, free: 2.629 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002496/0.4932, allocations: 267.7 kB / 1.006 GB, free: 2.367 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.727e-05/0.4933, allocations: 11.94 kB / 1.006 GB, free: 2.355 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003076/0.4964, allocations: 231.1 kB / 1.006 GB, free: 2.129 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002778/0.4967, allocations: 39.98 kB / 1.006 GB, free: 2.09 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.001118/0.4978, allocations: 408.9 kB / 1.007 GB, free: 1.68 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004761/0.4983, allocations: 146.2 kB / 1.007 GB, free: 1.535 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007414/0.5057, allocations: 1.516 MB / 1.008 GB, free: 0 / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-05/0.5058, allocations: 8.047 kB / 1.009 GB, free: 15.99 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.208e-05/0.5059, allocations: 7.922 kB / 1.009 GB, free: 15.98 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006333/0.5122, allocations: 1.285 MB / 1.01 GB, free: 14.67 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01522/0.5275, allocations: 3.229 MB / 1.013 GB, free: 11.28 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-05/0.5276, allocations: 4 kB / 1.013 GB, free: 11.27 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003306/0.5309, allocations: 236.2 kB / 1.013 GB, free: 11.04 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.679e-05/0.531, allocations: 8 kB / 1.013 GB, free: 11.04 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001925/0.5312, allocations: 27.98 kB / 1.013 GB, free: 11.01 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.634e-05/0.5312, allocations: 15.92 kB / 1.013 GB, free: 10.99 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.236e-05/0.5312, allocations: 7.938 kB / 1.013 GB, free: 10.98 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01377/0.545, allocations: 2.294 MB / 1.015 GB, free: 8.609 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001593/0.5467, allocations: 366.8 kB / 1.016 GB, free: 8.23 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004865/0.5472, allocations: 16 kB / 1.016 GB, free: 8.215 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003787/0.551, allocations: 195.6 kB / 1.016 GB, free: 8.023 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003139/0.5514, allocations: 72.36 kB / 1.016 GB, free: 7.953 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001975/0.5516, allocations: 35.97 kB / 1.016 GB, free: 7.918 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.00279/0.5544, allocations: 0.8929 MB / 1.017 GB, free: 7.027 MB / 0.6667 GB Notification: Performance of sort global known variables: time 7.41e-07/0.5544, allocations: 0 / 1.017 GB, free: 7.027 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.004518/0.559, allocations: 0.772 MB / 1.018 GB, free: 6.254 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.001936/0.561, allocations: 495 kB / 1.018 GB, free: 5.773 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0134/0.5744, allocations: 2.07 MB / 1.02 GB, free: 3.68 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.196e-05/0.5744, allocations: 4 kB / 1.02 GB, free: 3.676 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.004873/0.5793, allocations: 0.7069 MB / 1.021 GB, free: 2.973 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009452/0.5888, allocations: 0.7583 MB / 1.022 GB, free: 2.23 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009646/0.5985, allocations: 3.162 MB / 1.025 GB, free: 14.98 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001262/0.5998, allocations: 1.226 MB / 1.026 GB, free: 13.73 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003179/0.6031, allocations: 355.4 kB / 1.026 GB, free: 13.38 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009573/0.6041, allocations: 127.4 kB / 1.026 GB, free: 13.25 MB / 0.6823 GB Notification: Performance of SimCode: time 1.132e-06/0.6041, allocations: 0 / 1.026 GB, free: 13.25 MB / 0.6823 GB Notification: Performance of Templates: time 0.08229/0.6864, allocations: 28.88 MB / 1.055 GB, free: 0.6602 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.sim & ./Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1)