Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.313/2.313, allocations: 391.2 MB / 407 MB, free: 10.82 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 179.4 kB / 499.1 MB, free: 4.609 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.558/1.558, allocations: 222.9 MB / 0.7948 GB, free: 15.77 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 102.9 kB / 0.9329 GB, free: 7.055 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001061/0.001061, allocations: 50.8 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2736/0.2747, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.03969/0.3145, allocations: 60.09 MB / 1.277 GB, free: 56.91 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.01575/0.3303, allocations: 13.23 MB / 1.29 GB, free: 43.64 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003836/0.3341, allocations: 59.62 kB / 1.29 GB, free: 43.58 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.00314/0.3374, allocations: 0.8179 MB / 1.291 GB, free: 42.76 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.006174/0.3436, allocations: 2.138 MB / 1.293 GB, free: 40.61 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00438/0.348, allocations: 1.395 MB / 1.294 GB, free: 39.23 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.006962/0.3549, allocations: 5.543 MB / 1.299 GB, free: 33.68 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001955/0.357, allocations: 1.118 MB / 1.301 GB, free: 32.52 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00343/0.3604, allocations: 1.38 MB / 1.302 GB, free: 31.14 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00192/0.3624, allocations: 1.194 MB / 1.303 GB, free: 29.94 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002264/0.3626, allocations: 80 kB / 1.303 GB, free: 29.86 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003571/0.3662, allocations: 1.345 MB / 1.304 GB, free: 28.51 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0004074/0.3666, allocations: 354.5 kB / 1.305 GB, free: 28.16 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.001129/0.3677, allocations: 0.8314 MB / 1.306 GB, free: 27.33 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.003702/0.3715, allocations: 2.675 MB / 1.308 GB, free: 24.64 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.3715, allocations: 4 kB / 1.308 GB, free: 24.64 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.092e-06/0.3715, allocations: 0 / 1.308 GB, free: 24.64 MB / 0.823 GB Notification: Performance of Transformations before backend: time 2.227e-05/0.3715, allocations: 0 / 1.308 GB, free: 24.64 MB / 0.823 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.003673/0.3752, allocations: 2.174 MB / 1.31 GB, free: 22.4 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.3753, allocations: 15.97 kB / 1.31 GB, free: 22.39 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003277/0.3785, allocations: 0.6034 MB / 1.311 GB, free: 21.78 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001925/0.3805, allocations: 1.384 MB / 1.312 GB, free: 20.34 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001171/0.3806, allocations: 137.4 kB / 1.312 GB, free: 20.2 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00013/0.3807, allocations: 100 kB / 1.312 GB, free: 20.1 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002451/0.3832, allocations: 1.311 MB / 1.314 GB, free: 18.75 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.536e-05/0.3832, allocations: 3.906 kB / 1.314 GB, free: 18.75 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.662e-05/0.3833, allocations: 39.94 kB / 1.314 GB, free: 18.71 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.831e-05/0.3834, allocations: 24 kB / 1.314 GB, free: 18.69 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003239/0.3866, allocations: 1.315 MB / 1.315 GB, free: 17.37 MB / 0.823 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.005711/0.3923, allocations: 5.35 MB / 1.32 GB, free: 11.66 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005078/0.3974, allocations: 1.407 MB / 1.322 GB, free: 10.21 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001521/0.399, allocations: 0.5897 MB / 1.322 GB, free: 9.621 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006594/0.3997, allocations: 1.236 MB / 1.323 GB, free: 8.109 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001651/0.4013, allocations: 0.6549 MB / 1.324 GB, free: 7.441 MB / 0.823 GB Notification: Performance of pre-optimization done (n=69): time 2.675e-06/0.4013, allocations: 0 / 1.324 GB, free: 7.441 MB / 0.823 GB Notification: Performance of matching and sorting (n=69): time 0.004842/0.4062, allocations: 1.684 MB / 1.326 GB, free: 5.75 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/0.4063, allocations: 59.97 kB / 1.326 GB, free: 5.68 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00144/0.4077, allocations: 1.263 MB / 1.327 GB, free: 4.406 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001116/0.4078, allocations: 45.7 kB / 1.327 GB, free: 4.355 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004311/0.4083, allocations: 0.658 MB / 1.328 GB, free: 3.691 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001875/0.4085, allocations: 240.5 kB / 1.328 GB, free: 3.453 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002677/0.4087, allocations: 178.4 kB / 1.328 GB, free: 3.27 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.373e-05/0.4088, allocations: 337.9 kB / 1.328 GB, free: 2.934 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001506/0.4103, allocations: 0.52 MB / 1.329 GB, free: 2.41 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001651/0.412, allocations: 0.7431 MB / 1.33 GB, free: 1.586 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002859/0.4149, allocations: 1.128 MB / 1.331 GB, free: 424 kB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.4149, allocations: 4 kB / 1.331 GB, free: 420 kB / 0.823 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.004162/0.4191, allocations: 1.391 MB / 1.332 GB, free: 15 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.981e-05/0.4191, allocations: 33.7 kB / 1.332 GB, free: 14.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.4191, allocations: 4 kB / 1.332 GB, free: 14.96 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.458e-05/0.4192, allocations: 7.938 kB / 1.332 GB, free: 14.95 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001206/0.4204, allocations: 255.9 kB / 1.332 GB, free: 14.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.609e-05/0.4204, allocations: 7.938 kB / 1.332 GB, free: 14.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001906/0.4223, allocations: 223 kB / 1.333 GB, free: 14.47 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.542e-05/0.4224, allocations: 39.97 kB / 1.333 GB, free: 14.43 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002043/0.4245, allocations: 0.7846 MB / 1.333 GB, free: 13.65 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001746/0.4262, allocations: 0.7314 MB / 1.334 GB, free: 12.84 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003026/0.4293, allocations: 1.12 MB / 1.335 GB, free: 11.68 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.447e-06/0.4293, allocations: 0 / 1.335 GB, free: 11.68 MB / 0.8386 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.003956/0.4333, allocations: 1.395 MB / 1.337 GB, free: 10.26 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.79e-05/0.4333, allocations: 29.7 kB / 1.337 GB, free: 10.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.4333, allocations: 4 kB / 1.337 GB, free: 10.22 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.859e-06/0.4333, allocations: 8 kB / 1.337 GB, free: 10.21 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001254/0.4346, allocations: 259.9 kB / 1.337 GB, free: 9.961 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.338e-05/0.4346, allocations: 11.94 kB / 1.337 GB, free: 9.949 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001765/0.4364, allocations: 207.3 kB / 1.337 GB, free: 9.746 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.78e-05/0.4365, allocations: 35.98 kB / 1.337 GB, free: 9.711 MB / 0.8386 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.000334/0.4368, allocations: 232.7 kB / 1.337 GB, free: 9.477 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002731/0.4371, allocations: 142.2 kB / 1.338 GB, free: 9.336 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003944/0.4411, allocations: 1.469 MB / 1.339 GB, free: 7.844 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.606e-05/0.4411, allocations: 8 kB / 1.339 GB, free: 7.836 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.4411, allocations: 0 / 1.339 GB, free: 7.836 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003205/0.4443, allocations: 1.214 MB / 1.34 GB, free: 6.59 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006541/0.4509, allocations: 3.175 MB / 1.343 GB, free: 3.266 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.578e-06/0.4509, allocations: 4 kB / 1.343 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001121/0.4521, allocations: 219.9 kB / 1.343 GB, free: 3.047 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.368e-05/0.4521, allocations: 11.94 kB / 1.343 GB, free: 3.035 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.187e-05/0.4522, allocations: 23.98 kB / 1.344 GB, free: 3.012 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.054e-05/0.4522, allocations: 11.94 kB / 1.344 GB, free: 3 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.4522, allocations: 8 kB / 1.344 GB, free: 2.992 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03515/0.4873, allocations: 11.33 MB / 1.355 GB, free: 7.449 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006468/0.488, allocations: 346.8 kB / 1.355 GB, free: 7.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001686/0.4882, allocations: 23.98 kB / 1.355 GB, free: 7.066 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001345/0.4896, allocations: 155.8 kB / 1.355 GB, free: 6.914 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001484/0.4897, allocations: 80.34 kB / 1.355 GB, free: 6.836 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.857e-05/0.4898, allocations: 39.97 kB / 1.355 GB, free: 6.797 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001225/0.491, allocations: 0.9009 MB / 1.356 GB, free: 5.898 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4911, allocations: 0 / 1.356 GB, free: 5.898 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003248/0.4943, allocations: 1.209 MB / 1.357 GB, free: 4.688 MB / 0.8542 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.001104/0.4954, allocations: 0.5059 MB / 1.358 GB, free: 4.188 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.005531/0.501, allocations: 1.976 MB / 1.36 GB, free: 2.188 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.411e-05/0.501, allocations: 8.125 kB / 1.36 GB, free: 2.18 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002051/0.5031, allocations: 0.6756 MB / 1.36 GB, free: 1.508 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004075/0.5072, allocations: 0.7451 MB / 1.361 GB, free: 0.7695 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005288/0.5125, allocations: 3.624 MB / 1.365 GB, free: 13.05 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007469/0.5133, allocations: 1.25 MB / 1.366 GB, free: 11.77 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001925/0.5152, allocations: 403.3 kB / 1.366 GB, free: 11.37 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005191/0.5157, allocations: 127.4 kB / 1.366 GB, free: 11.24 MB / 0.8698 GB Notification: Performance of SimCode: time 6.42e-07/0.5157, allocations: 3.938 kB / 1.366 GB, free: 11.24 MB / 0.8698 GB Notification: Performance of Templates: time 0.05526/0.571, allocations: 35.63 MB / 1.401 GB, free: 7.926 MB / 0.9011 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1)