Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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 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_HeatRecovery,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.TSet|chi.TEvaEnt|chi.TEvaLvg|chi.TConEnt|chi.TConLvg|chi.COP_h|chi.PLR1|chi.PLR2|chi.CR",fileNamePrefix="Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery") translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.TSet|chi.TEvaEnt|chi.TEvaLvg|chi.TConEnt|chi.TConLvg|chi.COP_h|chi.PLR1|chi.PLR2|chi.CR",fileNamePrefix="Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 111.2 kB / 16.41 MB, free: 6.457 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.001422/0.001422, allocations: 192.3 kB / 17.35 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.506/2.506, allocations: 437 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 59.91 kB / 1.019 GB, free: 9.398 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9653/0.9667, allocations: 151.6 MB / 1.167 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery): time 0.0741/1.041, allocations: 60.64 MB / 1.227 GB, free: 6.973 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02305/1.064, allocations: 13.2 MB / 1.239 GB, free: 9.742 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003706/1.068, allocations: 75.56 kB / 1.24 GB, free: 9.668 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.003868/1.072, allocations: 0.9896 MB / 1.24 GB, free: 8.676 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.009504/1.081, allocations: 2.44 MB / 1.243 GB, free: 6.227 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.005522/1.087, allocations: 1.583 MB / 1.244 GB, free: 4.656 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.007973/1.095, allocations: 4.342 MB / 1.249 GB, free: 308 kB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002987/1.098, allocations: 1.346 MB / 1.25 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005118/1.103, allocations: 1.624 MB / 1.252 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00291/1.106, allocations: 1.202 MB / 1.253 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000737/1.107, allocations: 144 kB / 1.253 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004797/1.111, allocations: 1.478 MB / 1.254 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0009521/1.112, allocations: 422.5 kB / 1.255 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.002293/1.115, allocations: 0.9134 MB / 1.256 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.006756/1.122, allocations: 2.79 MB / 1.258 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/1.122, allocations: 0 / 1.258 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.974e-06/1.122, allocations: 4 kB / 1.258 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0001024/1.122, allocations: 0 / 1.258 GB, free: 6.34 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 236 * Number of variables: 236 Notification: Performance of Generate backend data structure: time 0.005968/1.128, allocations: 2.193 MB / 1.26 GB, free: 4.078 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/1.128, allocations: 8.922 kB / 1.26 GB, free: 4.07 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003874/1.132, allocations: 0.5566 MB / 1.261 GB, free: 3.512 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003325/1.135, allocations: 1.445 MB / 1.262 GB, free: 2.016 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002094/1.135, allocations: 149.3 kB / 1.263 GB, free: 1.855 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000319/1.136, allocations: 107.9 kB / 1.263 GB, free: 1.75 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003547/1.139, allocations: 1.338 MB / 1.264 GB, free: 388 kB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.443e-05/1.139, allocations: 3.938 kB / 1.264 GB, free: 384 kB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001328/1.139, allocations: 36 kB / 1.264 GB, free: 348 kB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.111e-05/1.139, allocations: 28 kB / 1.264 GB, free: 320 kB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003927/1.143, allocations: 1.339 MB / 1.265 GB, free: 14.97 MB / 0.9981 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.009242/1.153, allocations: 5.461 MB / 1.271 GB, free: 9.16 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005626/1.158, allocations: 1.425 MB / 1.272 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001694/1.16, allocations: 0.6008 MB / 1.273 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001021/1.161, allocations: 1.228 MB / 1.274 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001928/1.163, allocations: 0.6639 MB / 1.275 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=71): time 4.558e-06/1.163, allocations: 0 / 1.275 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of matching and sorting (n=71): time 0.02136/1.184, allocations: 3.717 MB / 1.278 GB, free: 1.16 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.964e-05/1.184, allocations: 60.06 kB / 1.278 GB, free: 1.086 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002617/1.187, allocations: 1.291 MB / 1.279 GB, free: 15.79 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002457/1.187, allocations: 41.7 kB / 1.279 GB, free: 15.74 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007436/1.188, allocations: 0.6658 MB / 1.28 GB, free: 15.06 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004074/1.188, allocations: 240.6 kB / 1.28 GB, free: 14.82 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004133/1.189, allocations: 178.4 kB / 1.281 GB, free: 14.64 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001515/1.189, allocations: 337.9 kB / 1.281 GB, free: 14.31 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001688/1.191, allocations: 0.5278 MB / 1.281 GB, free: 13.78 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001879/1.193, allocations: 0.7517 MB / 1.282 GB, free: 12.95 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003251/1.196, allocations: 1.148 MB / 1.283 GB, free: 11.75 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.401e-06/1.196, allocations: 0 / 1.283 GB, free: 11.75 MB / 1.014 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.009766/1.206, allocations: 2.122 MB / 1.285 GB, free: 9.609 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 6.442e-05/1.206, allocations: 45.94 kB / 1.285 GB, free: 9.559 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.901e-05/1.206, allocations: 4 kB / 1.285 GB, free: 9.555 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001693/1.208, allocations: 496.4 kB / 1.286 GB, free: 9.066 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009149/1.208, allocations: 203.7 kB / 1.286 GB, free: 8.867 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01662/1.225, allocations: 4.114 MB / 1.29 GB, free: 4.609 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002036/1.227, allocations: 187.1 kB / 1.29 GB, free: 4.426 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002235/1.227, allocations: 43.98 kB / 1.29 GB, free: 4.383 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002263/1.23, allocations: 0.779 MB / 1.291 GB, free: 3.602 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001842/1.232, allocations: 0.7542 MB / 1.292 GB, free: 2.77 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003193/1.235, allocations: 1.132 MB / 1.293 GB, free: 1.586 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.509e-06/1.235, allocations: 0 / 1.293 GB, free: 1.586 MB / 1.014 GB Notification: Performance of matching and sorting (n=99) (initialization_lambda0): time 0.00988/1.245, allocations: 2.122 MB / 1.295 GB, free: 15.44 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.519e-05/1.245, allocations: 34.02 kB / 1.295 GB, free: 15.4 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/1.245, allocations: 4 kB / 1.295 GB, free: 15.4 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001626/1.246, allocations: 0.4925 MB / 1.295 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009583/1.247, allocations: 187.9 kB / 1.296 GB, free: 14.72 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01665/1.264, allocations: 4.12 MB / 1.3 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001967/1.266, allocations: 175.3 kB / 1.3 GB, free: 10.29 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002182/1.266, allocations: 39.97 kB / 1.3 GB, free: 10.25 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 7 (fal.y,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 (93): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.000462/1.267, allocations: 240 kB / 1.3 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005634/1.267, allocations: 142.2 kB / 1.3 GB, free: 9.867 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01016/1.278, allocations: 2.184 MB / 1.302 GB, free: 7.656 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009421/1.287, allocations: 1.949 MB / 1.304 GB, free: 5.672 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-05/1.287, allocations: 0 / 1.304 GB, free: 5.672 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001177/1.288, allocations: 335 kB / 1.305 GB, free: 5.324 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000548/1.289, allocations: 15.98 kB / 1.305 GB, free: 5.309 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001582/1.29, allocations: 123.9 kB / 1.305 GB, free: 5.188 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002342/1.291, allocations: 64.5 kB / 1.305 GB, free: 5.125 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008169/1.299, allocations: 1.973 MB / 1.307 GB, free: 3.137 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00567/1.305, allocations: 2.152 MB / 1.309 GB, free: 0.9648 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001633/1.306, allocations: 0.5945 MB / 1.309 GB, free: 376 kB / 1.029 GB Notification: Performance of sorting global known variables: time 0.00176/1.308, allocations: 0.8847 MB / 1.31 GB, free: 15.48 MB / 1.045 GB Notification: Performance of Backend: time 2.8e-07/1.308, allocations: 3.938 kB / 1.31 GB, free: 15.48 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.009573/1.318, allocations: 2.583 MB / 1.313 GB, free: 12.87 MB / 1.045 GB Notification: Performance of SimCode: time 0.007166/1.325, allocations: 3.255 MB / 1.316 GB, free: 9.566 MB / 1.045 GB Notification: Performance of Templates: time 0.07132/1.396, allocations: 42.77 MB / 1.358 GB, free: 15.12 MB / 1.092 GB make -j1 -f Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery.makefile (rm -f Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery.sim & ./Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery.pipe 2>&1)