Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.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.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.342/2.342, allocations: 391.2 MB / 407 MB, free: 10.87 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.001347/0.001347, allocations: 187.5 kB / 499.1 MB, free: 4.695 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.448/1.448, allocations: 222.9 MB / 0.7948 GB, free: 15.85 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.001038/0.001038, allocations: 110.8 kB / 0.9329 GB, free: 7.094 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001109/0.001109, allocations: 55.8 kB / 1.081 GB, free: 218.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2708/0.272, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR): time 0.04152/0.3135, allocations: 60.08 MB / 1.277 GB, free: 57 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0163/0.3298, allocations: 13.29 MB / 1.29 GB, free: 43.68 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004276/0.3343, allocations: 63.62 kB / 1.29 GB, free: 43.61 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.002971/0.3373, allocations: 0.8101 MB / 1.291 GB, free: 42.8 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.006748/0.344, allocations: 2.142 MB / 1.293 GB, free: 40.65 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004205/0.3482, allocations: 1.396 MB / 1.294 GB, free: 39.27 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.005617/0.3539, allocations: 5.55 MB / 1.299 GB, free: 33.7 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001572/0.3555, allocations: 1.114 MB / 1.301 GB, free: 32.55 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002372/0.3579, allocations: 1.38 MB / 1.302 GB, free: 31.17 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001258/0.3591, allocations: 1.198 MB / 1.303 GB, free: 29.96 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001599/0.3593, allocations: 72 kB / 1.303 GB, free: 29.89 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002715/0.362, allocations: 1.38 MB / 1.304 GB, free: 28.51 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003055/0.3623, allocations: 362.4 kB / 1.305 GB, free: 28.16 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0009023/0.3632, allocations: 0.847 MB / 1.306 GB, free: 27.3 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.003529/0.3668, allocations: 2.722 MB / 1.308 GB, free: 24.57 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/0.3668, allocations: 3.938 kB / 1.308 GB, free: 24.57 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3668, allocations: 0 / 1.308 GB, free: 24.57 MB / 0.823 GB Notification: Performance of Transformations before backend: time 2.823e-05/0.3669, allocations: 0 / 1.308 GB, free: 24.57 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.003723/0.3706, allocations: 2.205 MB / 1.31 GB, free: 22.3 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.3707, allocations: 11.98 kB / 1.31 GB, free: 22.29 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003314/0.374, allocations: 0.6072 MB / 1.311 GB, free: 21.68 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002368/0.3764, allocations: 1.404 MB / 1.312 GB, free: 20.22 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001324/0.3765, allocations: 145.4 kB / 1.313 GB, free: 20.07 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001439/0.3767, allocations: 108 kB / 1.313 GB, free: 19.96 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002622/0.3793, allocations: 1.307 MB / 1.314 GB, free: 18.62 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.041e-05/0.3793, allocations: 7.938 kB / 1.314 GB, free: 18.61 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.981e-05/0.3794, allocations: 36 kB / 1.314 GB, free: 18.58 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.077e-05/0.3795, allocations: 28 kB / 1.314 GB, free: 18.55 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003205/0.3827, allocations: 1.327 MB / 1.315 GB, free: 17.22 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.006381/0.3891, allocations: 5.371 MB / 1.321 GB, free: 11.5 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002193/0.3913, allocations: 1.06 MB / 1.322 GB, free: 10.39 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001363/0.3927, allocations: 0.5964 MB / 1.322 GB, free: 9.793 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006089/0.3933, allocations: 1.24 MB / 1.323 GB, free: 8.277 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001592/0.3949, allocations: 0.6589 MB / 1.324 GB, free: 7.605 MB / 0.823 GB Notification: Performance of pre-optimization done (n=69): time 3.857e-06/0.3949, allocations: 0 / 1.324 GB, free: 7.605 MB / 0.823 GB Notification: Performance of matching and sorting (n=69): time 0.004924/0.3999, allocations: 1.703 MB / 1.326 GB, free: 5.895 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.205e-05/0.3999, allocations: 59.97 kB / 1.326 GB, free: 5.824 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001613/0.4015, allocations: 1.32 MB / 1.327 GB, free: 4.496 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001084/0.4016, allocations: 37.7 kB / 1.327 GB, free: 4.453 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004432/0.4021, allocations: 0.6816 MB / 1.328 GB, free: 3.762 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001856/0.4023, allocations: 232.6 kB / 1.328 GB, free: 3.531 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002943/0.4026, allocations: 178.5 kB / 1.328 GB, free: 3.348 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.107e-05/0.4027, allocations: 334 kB / 1.328 GB, free: 3.016 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001371/0.404, allocations: 0.5317 MB / 1.329 GB, free: 2.48 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001523/0.4056, allocations: 0.743 MB / 1.33 GB, free: 1.656 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00275/0.4083, allocations: 1.143 MB / 1.331 GB, free: 480 kB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/0.4084, allocations: 7.984 kB / 1.331 GB, free: 472 kB / 0.823 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.003838/0.4122, allocations: 1.403 MB / 1.332 GB, free: 15.04 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.082e-05/0.4123, allocations: 35.27 kB / 1.332 GB, free: 15 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.4123, allocations: 8 kB / 1.332 GB, free: 15 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.637e-05/0.4123, allocations: 11.94 kB / 1.332 GB, free: 14.98 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001174/0.4135, allocations: 255.6 kB / 1.333 GB, free: 14.73 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.253e-05/0.4135, allocations: 15.98 kB / 1.333 GB, free: 14.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001733/0.4153, allocations: 219 kB / 1.333 GB, free: 14.5 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.574e-05/0.4154, allocations: 35.98 kB / 1.333 GB, free: 14.47 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001983/0.4174, allocations: 0.8024 MB / 1.334 GB, free: 13.66 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001705/0.4191, allocations: 0.7437 MB / 1.334 GB, free: 12.84 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002952/0.4221, allocations: 1.139 MB / 1.335 GB, free: 11.66 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.845e-06/0.4221, allocations: 0 / 1.335 GB, free: 11.66 MB / 0.8386 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.003799/0.4259, allocations: 1.395 MB / 1.337 GB, free: 10.25 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.832e-05/0.4259, allocations: 37.69 kB / 1.337 GB, free: 10.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.4259, allocations: 4 kB / 1.337 GB, free: 10.2 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.426, allocations: 8 kB / 1.337 GB, free: 10.19 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001165/0.4271, allocations: 259.7 kB / 1.337 GB, free: 9.938 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.773e-05/0.4272, allocations: 4 kB / 1.337 GB, free: 9.934 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001655/0.4288, allocations: 215.2 kB / 1.337 GB, free: 9.723 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/0.4289, allocations: 35.98 kB / 1.337 GB, free: 9.688 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.000316/0.4293, allocations: 232.7 kB / 1.338 GB, free: 9.453 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004332/0.4297, allocations: 154.1 kB / 1.338 GB, free: 9.301 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003951/0.4337, allocations: 1.47 MB / 1.339 GB, free: 7.809 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.702e-05/0.4337, allocations: 8 kB / 1.339 GB, free: 7.801 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.505e-06/0.4337, allocations: 0 / 1.339 GB, free: 7.801 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003133/0.4369, allocations: 1.234 MB / 1.34 GB, free: 6.535 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006907/0.4438, allocations: 3.199 MB / 1.343 GB, free: 3.184 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.155e-05/0.4438, allocations: 8.562 kB / 1.343 GB, free: 3.176 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001102/0.4449, allocations: 219.7 kB / 1.344 GB, free: 2.961 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.806e-05/0.445, allocations: 11.94 kB / 1.344 GB, free: 2.949 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.867e-05/0.4451, allocations: 27.98 kB / 1.344 GB, free: 2.922 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.226e-05/0.4451, allocations: 11.94 kB / 1.344 GB, free: 2.91 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.92e-06/0.4451, allocations: 4 kB / 1.344 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03785/0.4829, allocations: 11.59 MB / 1.355 GB, free: 7.098 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008198/0.4838, allocations: 350.8 kB / 1.355 GB, free: 6.734 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002972/0.4841, allocations: 20 kB / 1.355 GB, free: 6.715 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0015/0.4856, allocations: 163.7 kB / 1.356 GB, free: 6.555 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001796/0.4858, allocations: 72.36 kB / 1.356 GB, free: 6.484 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001157/0.486, allocations: 39.97 kB / 1.356 GB, free: 6.445 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001489/0.4874, allocations: 0.9451 MB / 1.357 GB, free: 5.504 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4875, allocations: 0 / 1.357 GB, free: 5.504 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.004117/0.4916, allocations: 1.221 MB / 1.358 GB, free: 4.281 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.001306/0.4929, allocations: 0.5151 MB / 1.358 GB, free: 3.773 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.00557/0.4985, allocations: 1.996 MB / 1.36 GB, free: 1.754 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 9.387e-06/0.4985, allocations: 4 kB / 1.36 GB, free: 1.75 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001917/0.5004, allocations: 0.6834 MB / 1.361 GB, free: 1.07 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004431/0.5049, allocations: 0.7537 MB / 1.362 GB, free: 332 kB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006189/0.5111, allocations: 3.706 MB / 1.365 GB, free: 12.52 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009394/0.5121, allocations: 1.273 MB / 1.366 GB, free: 11.21 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002067/0.5141, allocations: 395.5 kB / 1.367 GB, free: 10.82 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006705/0.5148, allocations: 135.4 kB / 1.367 GB, free: 10.69 MB / 0.8698 GB Notification: Performance of SimCode: time 7.62e-07/0.5148, allocations: 0 / 1.367 GB, free: 10.69 MB / 0.8698 GB Notification: Performance of Templates: time 0.06533/0.5802, allocations: 36.22 MB / 1.402 GB, free: 6.797 MB / 0.9011 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe 2>&1)