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.0018/0.0018, allocations: 104.3 kB / 16.27 MB, free: 6.051 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.001951/0.001951, allocations: 187.9 kB / 17.19 MB, free: 5.688 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.398/1.398, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.755/1.755, allocations: 292.3 MB / 0.5495 GB, free: 17.57 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.001466/0.001466, allocations: 71.03 kB / 0.6722 GB, free: 6.586 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2445/0.246, allocations: 114.6 MB / 0.784 GB, free: 3.914 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.5215/0.7675, allocations: 60.45 MB / 0.8431 GB, free: 9.438 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02073/0.7883, allocations: 13.07 MB / 0.8558 GB, free: 92 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004588/0.793, allocations: 68.94 kB / 0.8559 GB, free: 64 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003854/0.7968, allocations: 0.9572 MB / 0.8568 GB, free: 15.48 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.009988/0.8069, allocations: 2.299 MB / 0.8591 GB, free: 14.11 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.005874/0.8128, allocations: 1.541 MB / 0.8606 GB, free: 13.29 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.00881/0.8216, allocations: 4.257 MB / 0.8647 GB, free: 11.25 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002848/0.8245, allocations: 1.338 MB / 0.866 GB, free: 10.65 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006041/0.8306, allocations: 1.573 MB / 0.8676 GB, free: 9.914 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003704/0.8343, allocations: 1.186 MB / 0.8687 GB, free: 9.359 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0005984/0.835, allocations: 139 kB / 0.8689 GB, free: 9.359 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005724/0.8407, allocations: 1.441 MB / 0.8703 GB, free: 8.832 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.000697/0.8414, allocations: 419.5 kB / 0.8707 GB, free: 8.562 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.00182/0.8433, allocations: 0.8969 MB / 0.8715 GB, free: 7.965 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.006333/0.8496, allocations: 2.719 MB / 0.8742 GB, free: 6.168 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.8496, allocations: 4 kB / 0.8742 GB, free: 6.164 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8497, allocations: 1.875 kB / 0.8742 GB, free: 6.164 MB / 0.67 GB Notification: Performance of Transformations before backend: time 4.411e-05/0.8497, allocations: 0 / 0.8742 GB, free: 6.164 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.004942/0.8547, allocations: 2.169 MB / 0.8763 GB, free: 4.52 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.198e-05/0.8547, allocations: 10.09 kB / 0.8763 GB, free: 4.52 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003879/0.8586, allocations: 0.6031 MB / 0.8769 GB, free: 4.262 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002779/0.8614, allocations: 1.336 MB / 0.8782 GB, free: 3.215 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000184/0.8616, allocations: 144.5 kB / 0.8784 GB, free: 3.113 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001908/0.8618, allocations: 103.7 kB / 0.8785 GB, free: 3.078 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00341/0.8652, allocations: 1.305 MB / 0.8797 GB, free: 2.309 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.969e-05/0.8653, allocations: 9.266 kB / 0.8797 GB, free: 2.301 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001138/0.8654, allocations: 35.91 kB / 0.8798 GB, free: 2.273 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.694e-05/0.8655, allocations: 23.69 kB / 0.8798 GB, free: 2.273 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003973/0.8694, allocations: 1.313 MB / 0.8811 GB, free: 1.672 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.008937/0.8784, allocations: 5.379 MB / 0.8863 GB, free: 13.11 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005863/0.8843, allocations: 1.402 MB / 0.8877 GB, free: 12.36 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001808/0.8862, allocations: 0.5974 MB / 0.8883 GB, free: 12.08 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00106/0.8872, allocations: 1.233 MB / 0.8895 GB, free: 10.63 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002096/0.8894, allocations: 0.6492 MB / 0.8901 GB, free: 10.27 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=69): time 3.196e-06/0.8894, allocations: 0 / 0.8901 GB, free: 10.27 MB / 0.6856 GB Notification: Performance of matching and sorting (n=69): time 0.005735/0.8951, allocations: 1.684 MB / 0.8918 GB, free: 9.5 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.465e-05/0.8952, allocations: 58.91 kB / 0.8918 GB, free: 9.434 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002345/0.8976, allocations: 1.279 MB / 0.8931 GB, free: 8.738 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002331/0.8978, allocations: 45.83 kB / 0.8931 GB, free: 8.695 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.000757/0.8986, allocations: 0.6467 MB / 0.8938 GB, free: 8.125 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002908/0.8989, allocations: 235 kB / 0.894 GB, free: 7.922 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003364/0.8992, allocations: 172.7 kB / 0.8941 GB, free: 7.82 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.8994, allocations: 333.2 kB / 0.8945 GB, free: 7.496 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001728/0.9011, allocations: 0.5318 MB / 0.895 GB, free: 7.246 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001848/0.903, allocations: 0.7399 MB / 0.8957 GB, free: 6.75 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003388/0.9064, allocations: 1.13 MB / 0.8968 GB, free: 6.133 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/0.9064, allocations: 1.469 kB / 0.8968 GB, free: 6.133 MB / 0.6856 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.004197/0.9106, allocations: 1.398 MB / 0.8982 GB, free: 5.027 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.628e-05/0.9107, allocations: 33.7 kB / 0.8982 GB, free: 4.988 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.9107, allocations: 1.969 kB / 0.8982 GB, free: 4.988 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.216e-05/0.9107, allocations: 11.94 kB / 0.8982 GB, free: 4.977 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001263/0.912, allocations: 259.9 kB / 0.8985 GB, free: 4.723 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.934e-05/0.912, allocations: 7.984 kB / 0.8985 GB, free: 4.715 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002018/0.914, allocations: 176.5 kB / 0.8986 GB, free: 4.543 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001223/0.9142, allocations: 43.97 kB / 0.8987 GB, free: 4.5 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002333/0.9165, allocations: 0.779 MB / 0.8994 GB, free: 3.719 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001771/0.9183, allocations: 0.7391 MB / 0.9002 GB, free: 2.902 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003091/0.9214, allocations: 1.12 MB / 0.9013 GB, free: 1.734 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.667e-06/0.9214, allocations: 0 / 0.9013 GB, free: 1.734 MB / 0.6856 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.00402/0.9255, allocations: 1.38 MB / 0.9026 GB, free: 348 kB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.765e-05/0.9255, allocations: 33.7 kB / 0.9026 GB, free: 308 kB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.9255, allocations: 4 kB / 0.9026 GB, free: 304 kB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.9256, allocations: 8 kB / 0.9027 GB, free: 296 kB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001263/0.9268, allocations: 259.9 kB / 0.9029 GB, free: 36 kB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.034e-05/0.9269, allocations: 9.547 kB / 0.9029 GB, free: 28 kB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001927/0.9288, allocations: 179.2 kB / 0.9031 GB, free: 15.85 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/0.9289, allocations: 39.98 kB / 0.9031 GB, free: 15.81 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.000364/0.9293, allocations: 230.5 kB / 0.9033 GB, free: 15.58 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004551/0.9298, allocations: 142.2 kB / 0.9035 GB, free: 15.44 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004251/0.934, allocations: 1.456 MB / 0.9049 GB, free: 13.97 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.269e-05/0.9341, allocations: 12 kB / 0.9049 GB, free: 13.96 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/0.9341, allocations: 0 / 0.9049 GB, free: 13.96 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003386/0.9375, allocations: 1.218 MB / 0.9061 GB, free: 12.71 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007704/0.9452, allocations: 3.175 MB / 0.9092 GB, free: 9.379 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.126e-05/0.9453, allocations: 8.031 kB / 0.9092 GB, free: 9.371 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001185/0.9465, allocations: 219.7 kB / 0.9094 GB, free: 9.156 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.406e-05/0.9465, allocations: 11.94 kB / 0.9094 GB, free: 9.145 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.342e-05/0.9466, allocations: 23.98 kB / 0.9094 GB, free: 9.121 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.059e-05/0.9466, allocations: 15.92 kB / 0.9095 GB, free: 9.105 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.573e-06/0.9466, allocations: 4.5 kB / 0.9095 GB, free: 9.102 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006293/0.9529, allocations: 2.208 MB / 0.9116 GB, free: 6.812 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00111/0.9541, allocations: 342.9 kB / 0.912 GB, free: 6.457 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003272/0.9544, allocations: 23.94 kB / 0.912 GB, free: 6.434 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001479/0.9559, allocations: 130.3 kB / 0.9121 GB, free: 6.309 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001828/0.9561, allocations: 76.34 kB / 0.9122 GB, free: 6.234 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001/0.9562, allocations: 35.97 kB / 0.9122 GB, free: 6.199 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001458/0.9577, allocations: 0.9085 MB / 0.9131 GB, free: 5.293 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9577, allocations: 0 / 0.9131 GB, free: 5.293 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002501/0.9602, allocations: 0.7953 MB / 0.9139 GB, free: 4.496 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.00146/0.9616, allocations: 0.5072 MB / 0.9144 GB, free: 3.996 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.006328/0.968, allocations: 2.042 MB / 0.9164 GB, free: 1.93 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.387e-05/0.968, allocations: 7.938 kB / 0.9164 GB, free: 1.922 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.002051/0.9701, allocations: 0.66 MB / 0.917 GB, free: 1.266 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004303/0.9744, allocations: 0.7684 MB / 0.9178 GB, free: 0.582 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005434/0.9799, allocations: 2.716 MB / 0.9204 GB, free: 13.77 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008658/0.9808, allocations: 1.226 MB / 0.9216 GB, free: 12.52 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006686/0.9815, allocations: 131.4 kB / 0.9217 GB, free: 12.39 MB / 0.7169 GB Notification: Performance of SimCode: time 1.303e-06/0.9815, allocations: 0 / 0.9217 GB, free: 12.39 MB / 0.7169 GB Notification: Performance of Templates: time 0.04543/1.027, allocations: 26.7 MB / 0.9478 GB, free: 1.98 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)