Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.358/1.358, allocations: 251.5 MB / 267.4 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00106/0.001059, allocations: 179.2 kB / 326.5 MB, free: 2.688 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.729/1.729, allocations: 205 MB / 0.5767 GB, free: 21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007175/0.0007175, allocations: 92.23 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003112/0.0003112, allocations: 9.891 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.211/0.2113, allocations: 105.4 MB / 0.8967 GB, free: 68.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR): time 0.03969/0.251, allocations: 59.76 MB / 0.9551 GB, free: 8.227 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0163/0.2674, allocations: 13.12 MB / 0.9679 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002175/0.2696, allocations: 63.62 kB / 0.968 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002174/0.2718, allocations: 0.8119 MB / 0.9688 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.005395/0.2772, allocations: 2.129 MB / 0.9708 GB, free: 8.066 MB / 0.6198 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.00342/0.2806, allocations: 1.382 MB / 0.9722 GB, free: 6.691 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.005382/0.286, allocations: 5.505 MB / 0.9776 GB, free: 1.172 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001369/0.2874, allocations: 1.082 MB / 0.9786 GB, free: 60 kB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002165/0.2896, allocations: 1.357 MB / 0.98 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001218/0.2908, allocations: 1.151 MB / 0.9811 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001428/0.291, allocations: 60 kB / 0.9811 GB, free: 13.48 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002655/0.2936, allocations: 1.36 MB / 0.9825 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0003024/0.2939, allocations: 338.5 kB / 0.9828 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0007231/0.2947, allocations: 0.8118 MB / 0.9836 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002878/0.2976, allocations: 2.659 MB / 0.9862 GB, free: 8.301 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.2976, allocations: 0 / 0.9862 GB, free: 8.301 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.894e-06/0.2976, allocations: 0 / 0.9862 GB, free: 8.301 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.743e-05/0.2976, allocations: 0 / 0.9862 GB, free: 8.301 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.003104/0.3007, allocations: 1.894 MB / 0.988 GB, free: 6.344 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.3008, allocations: 8.031 kB / 0.988 GB, free: 6.336 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003315/0.3041, allocations: 0.6502 MB / 0.9887 GB, free: 5.684 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001927/0.306, allocations: 1.373 MB / 0.99 GB, free: 4.258 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001504/0.3062, allocations: 149.4 kB / 0.9902 GB, free: 4.098 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001516/0.3063, allocations: 100 kB / 0.9902 GB, free: 4 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002644/0.309, allocations: 1.334 MB / 0.9916 GB, free: 2.633 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.805e-05/0.309, allocations: 7.984 kB / 0.9916 GB, free: 2.625 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001066/0.3091, allocations: 40 kB / 0.9916 GB, free: 2.586 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.073e-05/0.3092, allocations: 24 kB / 0.9916 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003401/0.3126, allocations: 1.39 MB / 0.993 GB, free: 1.168 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.006204/0.3188, allocations: 5.382 MB / 0.9982 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00241/0.3212, allocations: 1.093 MB / 0.9993 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001504/0.3227, allocations: 0.631 MB / 0.9999 GB, free: 9.66 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009214/0.3237, allocations: 1.24 MB / 1.001 GB, free: 8.145 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001671/0.3254, allocations: 0.6823 MB / 1.002 GB, free: 7.453 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=69): time 3.546e-06/0.3254, allocations: 4 kB / 1.002 GB, free: 7.449 MB / 0.6511 GB Notification: Performance of matching and sorting (n=69): time 0.004745/0.3301, allocations: 1.797 MB / 1.004 GB, free: 5.641 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.38e-05/0.3302, allocations: 59.97 kB / 1.004 GB, free: 5.57 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001469/0.3316, allocations: 1.316 MB / 1.005 GB, free: 4.246 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.733e-05/0.3317, allocations: 37.7 kB / 1.005 GB, free: 4.203 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005138/0.3322, allocations: 0.6776 MB / 1.006 GB, free: 3.516 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002033/0.3325, allocations: 236.6 kB / 1.006 GB, free: 3.281 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.3326, allocations: 65.69 kB / 1.006 GB, free: 3.211 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.3327, allocations: 341.9 kB / 1.006 GB, free: 2.871 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001503/0.3342, allocations: 0.5562 MB / 1.007 GB, free: 2.316 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001653/0.3359, allocations: 0.7821 MB / 1.008 GB, free: 1.449 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002935/0.3388, allocations: 1.214 MB / 1.009 GB, free: 196 kB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.3388, allocations: 0 / 1.009 GB, free: 196 kB / 0.6511 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.003555/0.3424, allocations: 1.477 MB / 1.01 GB, free: 14.7 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.000129/0.3425, allocations: 219.4 kB / 1.01 GB, free: 14.44 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/0.3426, allocations: 4 kB / 1.01 GB, free: 14.43 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/0.3426, allocations: 8 kB / 1.01 GB, free: 14.43 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001186/0.3438, allocations: 271.6 kB / 1.011 GB, free: 14.16 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.919e-05/0.3438, allocations: 11.98 kB / 1.011 GB, free: 14.15 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00146/0.3453, allocations: 235 kB / 1.011 GB, free: 13.92 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-05/0.3454, allocations: 39.98 kB / 1.011 GB, free: 13.88 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 9.067e-06/0.3454, allocations: 8 kB / 1.011 GB, free: 13.87 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00321/0.3486, allocations: 1.317 MB / 1.012 GB, free: 12.54 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.3486, allocations: 7.984 kB / 1.012 GB, free: 12.54 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.873e-06/0.3486, allocations: 4 kB / 1.012 GB, free: 12.53 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001135/0.3498, allocations: 268 kB / 1.012 GB, free: 12.27 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.3498, allocations: 11.94 kB / 1.012 GB, free: 12.26 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001327/0.3511, allocations: 243.1 kB / 1.013 GB, free: 12.02 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.34e-05/0.3512, allocations: 35.97 kB / 1.013 GB, free: 11.98 MB / 0.6667 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.0005764/0.3518, allocations: 417.4 kB / 1.013 GB, free: 11.57 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00022/0.352, allocations: 146.1 kB / 1.013 GB, free: 11.42 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003769/0.3558, allocations: 1.544 MB / 1.015 GB, free: 9.859 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003082/0.3589, allocations: 1.3 MB / 1.016 GB, free: 8.527 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.3589, allocations: 0 / 1.016 GB, free: 8.527 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005352/0.3594, allocations: 334.9 kB / 1.016 GB, free: 8.18 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001873/0.3596, allocations: 12 kB / 1.016 GB, free: 8.168 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001239/0.3609, allocations: 175.7 kB / 1.017 GB, free: 7.996 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001451/0.361, allocations: 60.5 kB / 1.017 GB, free: 7.938 MB / 0.6667 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004295/0.3653, allocations: 1.5 MB / 1.018 GB, free: 6.43 MB / 0.6667 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00535/0.3707, allocations: 2.307 MB / 1.02 GB, free: 4.102 MB / 0.6667 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001762/0.3725, allocations: 0.6493 MB / 1.021 GB, free: 3.449 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001786/0.3743, allocations: 0.9087 MB / 1.022 GB, free: 2.543 MB / 0.6667 GB Notification: Performance of Backend: time 5.71e-07/0.3743, allocations: 0 / 1.022 GB, free: 2.543 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.006778/0.3811, allocations: 2.114 MB / 1.024 GB, free: 420 kB / 0.6667 GB Notification: Performance of SimCode: time 0.006339/0.3874, allocations: 3.762 MB / 1.028 GB, free: 12.6 MB / 0.6823 GB Notification: Performance of Templates: time 0.4268/0.8142, allocations: 35.07 MB / 1.062 GB, free: 151.4 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe 2>&1)