Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.00147/0.00147, allocations: 109.1 kB / 16.42 MB, free: 6.516 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.001503/0.001503, allocations: 187.9 kB / 17.35 MB, free: 5.738 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.509/1.509, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.752/2.752, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002024, allocations: 67.83 kB / 1.055 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9774/0.9795, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery): time 0.06318/1.043, allocations: 60.61 MB / 1.268 GB, free: 0.8086 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0215/1.064, allocations: 13.21 MB / 1.281 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003453/1.068, allocations: 67.62 kB / 1.281 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003611/1.071, allocations: 0.974 MB / 1.282 GB, free: 2.523 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008054/1.08, allocations: 2.312 MB / 1.284 GB, free: 204 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00504/1.085, allocations: 1.586 MB / 1.285 GB, free: 14.62 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.008755/1.093, allocations: 4.325 MB / 1.29 GB, free: 10.29 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002824/1.096, allocations: 1.358 MB / 1.291 GB, free: 8.898 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004589/1.101, allocations: 1.61 MB / 1.292 GB, free: 7.289 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002564/1.103, allocations: 1.213 MB / 1.294 GB, free: 6.07 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0005931/1.104, allocations: 144 kB / 1.294 GB, free: 5.93 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003977/1.108, allocations: 1.478 MB / 1.295 GB, free: 4.449 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0007575/1.109, allocations: 418.4 kB / 1.296 GB, free: 4.039 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.00199/1.111, allocations: 0.9173 MB / 1.297 GB, free: 3.117 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.006514/1.117, allocations: 2.79 MB / 1.299 GB, free: 328 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.824e-06/1.117, allocations: 0 / 1.299 GB, free: 328 kB / 1.014 GB Notification: Performance of FrontEnd: time 3.316e-06/1.117, allocations: 3.938 kB / 1.299 GB, free: 324 kB / 1.014 GB Notification: Performance of Transformations before backend: time 9.196e-05/1.118, allocations: 0 / 1.299 GB, free: 324 kB / 1.014 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.006177/1.124, allocations: 2.197 MB / 1.301 GB, free: 14.05 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 7.435e-05/1.124, allocations: 8.031 kB / 1.301 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003939/1.128, allocations: 0.5605 MB / 1.302 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002947/1.131, allocations: 1.441 MB / 1.303 GB, free: 11.99 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001633/1.131, allocations: 149.4 kB / 1.304 GB, free: 11.83 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001774/1.131, allocations: 100 kB / 1.304 GB, free: 11.73 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003312/1.134, allocations: 1.334 MB / 1.305 GB, free: 10.36 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.9e-05/1.134, allocations: 3.938 kB / 1.305 GB, free: 10.36 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001129/1.135, allocations: 40 kB / 1.305 GB, free: 10.32 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.985e-05/1.135, allocations: 24 kB / 1.305 GB, free: 10.3 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003632/1.138, allocations: 1.343 MB / 1.306 GB, free: 8.957 MB / 1.029 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.00854/1.147, allocations: 5.477 MB / 1.312 GB, free: 3.121 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005742/1.153, allocations: 1.415 MB / 1.313 GB, free: 1.664 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001761/1.154, allocations: 0.5964 MB / 1.314 GB, free: 1.066 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001067/1.156, allocations: 1.24 MB / 1.315 GB, free: 15.55 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001994/1.158, allocations: 0.6561 MB / 1.315 GB, free: 14.88 MB / 1.045 GB Notification: Performance of pre-optimization done (n=71): time 1.398e-05/1.158, allocations: 0 / 1.315 GB, free: 14.88 MB / 1.045 GB Notification: Performance of matching and sorting (n=71): time 0.02154/1.179, allocations: 3.71 MB / 1.319 GB, free: 11.14 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.504e-05/1.179, allocations: 64.06 kB / 1.319 GB, free: 11.06 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002494/1.182, allocations: 1.295 MB / 1.32 GB, free: 9.758 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0002351/1.182, allocations: 45.7 kB / 1.32 GB, free: 9.707 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000711/1.183, allocations: 0.6697 MB / 1.321 GB, free: 9.027 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003911/1.183, allocations: 232.6 kB / 1.321 GB, free: 8.797 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004322/1.184, allocations: 182.4 kB / 1.322 GB, free: 8.613 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001415/1.184, allocations: 333.9 kB / 1.322 GB, free: 8.281 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001652/1.185, allocations: 0.5356 MB / 1.322 GB, free: 7.742 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001866/1.187, allocations: 0.7558 MB / 1.323 GB, free: 6.902 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003248/1.191, allocations: 1.14 MB / 1.324 GB, free: 5.715 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/1.191, allocations: 3.938 kB / 1.324 GB, free: 5.711 MB / 1.045 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.01002/1.201, allocations: 2.133 MB / 1.326 GB, free: 3.555 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 6.221e-05/1.201, allocations: 29.7 kB / 1.326 GB, free: 3.52 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.32e-05/1.201, allocations: 4.312 kB / 1.326 GB, free: 3.516 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001738/1.202, allocations: 496.5 kB / 1.327 GB, free: 3.027 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009779/1.203, allocations: 195.7 kB / 1.327 GB, free: 2.836 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01686/1.22, allocations: 4.126 MB / 1.331 GB, free: 14.57 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00202/1.222, allocations: 183 kB / 1.331 GB, free: 14.39 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002404/1.223, allocations: 39.98 kB / 1.331 GB, free: 14.35 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002357/1.225, allocations: 0.7868 MB / 1.332 GB, free: 13.56 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001937/1.227, allocations: 0.7477 MB / 1.333 GB, free: 12.73 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00343/1.23, allocations: 1.132 MB / 1.334 GB, free: 11.55 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.664e-06/1.23, allocations: 4 kB / 1.334 GB, free: 11.55 MB / 1.061 GB Notification: Performance of matching and sorting (n=99) (initialization_lambda0): time 0.01008/1.241, allocations: 2.118 MB / 1.336 GB, free: 9.406 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 6.823e-05/1.241, allocations: 41.69 kB / 1.336 GB, free: 9.359 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/1.241, allocations: 4 kB / 1.336 GB, free: 9.355 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001635/1.242, allocations: 488.8 kB / 1.336 GB, free: 8.875 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009355/1.243, allocations: 199.7 kB / 1.337 GB, free: 8.68 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01677/1.26, allocations: 4.126 MB / 1.341 GB, free: 4.418 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001991/1.262, allocations: 175.3 kB / 1.341 GB, free: 4.246 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002269/1.262, allocations: 35.98 kB / 1.341 GB, free: 4.211 MB / 1.061 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.000463/1.263, allocations: 236.1 kB / 1.341 GB, free: 3.973 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006768/1.264, allocations: 150.2 kB / 1.341 GB, free: 3.824 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01023/1.274, allocations: 2.176 MB / 1.343 GB, free: 1.625 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009174/1.283, allocations: 1.937 MB / 1.345 GB, free: 15.65 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.776e-05/1.283, allocations: 4 kB / 1.345 GB, free: 15.65 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001195/1.284, allocations: 338.9 kB / 1.346 GB, free: 15.3 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006265/1.285, allocations: 12 kB / 1.346 GB, free: 15.29 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001707/1.287, allocations: 124 kB / 1.346 GB, free: 15.16 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002408/1.287, allocations: 72.5 kB / 1.346 GB, free: 15.09 MB / 1.076 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008199/1.295, allocations: 1.981 MB / 1.348 GB, free: 13.1 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005717/1.301, allocations: 2.148 MB / 1.35 GB, free: 10.93 MB / 1.076 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001686/1.303, allocations: 0.5906 MB / 1.35 GB, free: 10.34 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001534/1.304, allocations: 0.8923 MB / 1.351 GB, free: 9.449 MB / 1.076 GB Notification: Performance of Backend: time 8.92e-07/1.304, allocations: 0 / 1.351 GB, free: 9.449 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.008939/1.313, allocations: 2.578 MB / 1.354 GB, free: 6.836 MB / 1.076 GB Notification: Performance of SimCode: time 0.0064/1.32, allocations: 3.264 MB / 1.357 GB, free: 3.535 MB / 1.076 GB Notification: Performance of Templates: time 0.06897/1.389, allocations: 42.77 MB / 1.399 GB, free: 9.113 MB / 1.123 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery.pipe 2>&1)